【pip install error 】之ReadTimeoutError: HTTPSConnectionPool

常用pip来更新Python的package,经常出现揪心的红色错误信息

ReadTimeoutError: HTTPSConnectionPool(host=‘pypi.python.org‘, port=443): Read timed out.

主要问题:默认的源不稳定导致

解决方案:切换稳定可靠的源

(清华的镜像站)传送门:https://mirrors.tuna.tsinghua.edu.cn/

以pandas库为例:pip install --index https://mirrors.ustc.edu.cn/pypi/web/simple/ pandas

直接由2G时代跨入4G不限速,爽不爽???

---------------------------------------------------------------

【原】作者:DaemonFG
来源:CSDN
原文:https://blog.csdn.net/DaemonFG/article/details/76974051
版权声明:本文为博主原创文章,转载请附上博文链接!

原文地址:https://www.cnblogs.com/hightech/p/9937636.html

时间: 2024-10-16 16:47:29

【pip install error 】之ReadTimeoutError: HTTPSConnectionPool的相关文章

pip install Error - ReadTimeoutError: HTTPSConnectionPool

pip install Error OSX 终端更新pip出错 sudo pip install --upgrade pip : 1.ReadTimeoutError: HTTPSConnectionPool(host='pypi.Python.org', port=443): Read 解决办法: 加大超时时间,如 pip --default-timeout=100 install -U pip 2.如果依上处理还没解决问题,或者报错 ProtocolError: ("Connection b

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

用pip安装tornado库: python -m pip install tornado 出现问题一: Could not fetch URL https://pypi.org/simple/twisted/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/twis

错误:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. 上官瑾文 2018-07-26 14:57:34 浏览45376 python docker shell 镜像 Image pip read dockerfile ReadTimeoutError 场景 在用Dockerfile制作镜像的时候总是

python pip install error

使用pip install的时候报错 解决方法是使用如下的命令进行安装 python -m pip install sqlalchemy 升级pip的命令 报错没有权限的话可以使用下面的方法

python安装matplotlib:python -m pip install matplotlib报错

matplotlib是python中强大的画图模块. 首先确保已经安装python,然后用pip来安装matplotlib模块. 进入到cmd窗口下,建议执行python -m pip install -U pip setuptools进行升级. 接着键入python -m pip install matplotlib进行自动的安装,系统会自动下载安装包. 安装完成后,可以用python -m pip list查看本机的安装的所有模块,确保matplotlib已经安装成功. 如果你能看的上面的m

pip install py-stringsimjoin error: INCLUDE environment variable is empty

在用pip install py-stringsimjoin的时候报错error: INCLUDE environment variable is empty,后来在网上搜索下了说是需要下载安装VCForPython27.msi, 下载后安装后VCForPython27.msi(下载地址:https://www.microsoft.com/en-us/download/confirmation.aspx?id=44266),重新安装pip install py-stringsimjoin果然成功

词云:解决pip install wordcloud安装过程中报错“error: command 'x86_64-linux-gnu-gcc' failed with exit status 1”问题

外部环境:ubuntu16.04, 64bits, 全局环境python2.7 在虚拟环境(python3.5)中执行 pip install wordcloud 时安装失败,报错: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for wordcloud Running setup.py

yum -y install pip No package pip available. Error: Nothing to do

centos下安装pip时失败: [[email protected] ~]# yum -y install pipLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirrors.tuna.tsinghua.edu.cn* extras: mirrors.tuna.tsinghua.edu.cn* updates: mirror

python pip install 报:HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.错误

下午想要安装 scrapy框架时报错,如图: 网上查了一下:因为网络差导致安装超时,所以用安装时指定源的方法可以解决: pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple 红色的字体表示要安装的模块 python pip install 报:HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.错误 原文地址:https:/