pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
2016-12-10 00:00
3107 查看
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安装一些包文件的时候如果遇到这样的问题,也是可以通过加大超时时间或者直接下载要安装文件的整个安装包来安装。
相关文章推荐
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pip安装scrapy报错 ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org, port=443) Read time out
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pip升级出错解决方法ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read ti med out.
- ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.
- 使用pip install时报错:ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed
- ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.
- python安装报443,https; HTTPSConnectionPool(host='pypi.python.org', port=443):
- gevent和requests同时使用报requests.exceptions.ReadTimeout:HTTPSConnectionPool(host='www.baidu.com', port=4
- requests.exceptions.ReadTimeout: HTTPConnectionPool(host='img.qqzhi.com', port=80): Read timed out.
- Python package下载中遇到ReadTimeoutError: HTTPSConnectionPool?
- pip install Error - ReadTimeoutError: HTTPSConnectionPool
- pip install时发生raise ReadTimeoutError(self._pool, None, 'Read timed out.')的解决方案
- pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='pypi.py
- pip install时发生raise ReadTimeoutError(self._pool, None, 'Read timed out.')的解决方案
- Could not fetch URL https://pypi.org/simple/mysql-python/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443):解决方案
- pip(python) && ReadTimeoutError
- .CondaHTTPError: HTTP Error: Could not find URL: https://pypi.python.org/pypi/win-64/
- org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting