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 broken: error(54, ‘Connection reset by peer‘)", error(54, ‘Connection reset by peer‘))

解决办法:

1. 到https://pypi.python.org/simple/pip/下载最新的.whl文件(如pip-8.1.2-py2.py3-none-any.whl,注意:列表并非按发布时间排序,自己按文件名找到最新.whl文件)

2. 下载完之后,在终端下用pip安装: pip install (path)/pip-8.1.2-py2.py3-none-any.whl

其实在使用pip安装一些包文件的时候如果遇到这样的问题,也是可以通过加大超时时间或者直接下载要安装文件的整个安装包来安装。

本文转载自http://blog.csdn.net/lijiang1991/article/details/51775896

时间: 2024-08-04 00:24:53

pip install Error - ReadTimeoutError: HTTPSConnectionPool的相关文章

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:/

【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://mirror

python pip install error

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

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制作镜像的时候总是

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

解决pip install package时Fatal error in launcher: Unable to create process using '"e:\python36\python3.exe" "E:\python36\Script\pip3.exe"问题

pip 运行报错: 关于:Fatal error in launcher: Unable to create process using '"e:\python36\python3.exe"  "E:\python36\Script\pip3.exe"问题 由于安装tensorflow,下载 了Anaconda2环境,自此python有了2.7 和3.6两个版本,同时在tensorflow虚拟环境中安装了python3.5版本用来运行tensorflow. 今天本想