Pip Install Error
OSX Terminal update pip error sudo pip install --upgrade pip
:
1.readtimeouterror:httpsconnectionpool (host= ' PyPI. Python.org ', port=443): Read
Workaround: Increase the time-out, such aspip --default-timeout=100 install -U pip
2. If the processing has not resolved the problem, or the errorProtocolError: ("Connection broken: error(54, ‘Connection reset by peer‘)", error(54, ‘Connection reset by peer‘))
Workaround:
1. To https://pypi.python.org/simple/pip/ Download the latest. WHL files (such as PIP-8.1.2-PY2.PY3-NONE-ANY.WHL, note: The list is not sorted by publication time, you find the latest. whl file by file name)
2. After downloading, install with PIP under Terminal:pip install (path)/pip-8.1.2-py2.py3-none-any.whl
In fact, when using PIP to install some package files, if you encounter such a problem, it can also be installed by increasing the time-out or downloading the entire installation package to install files directly.
This article is reproduced from http://blog.csdn.net/lijiang1991/article/details/51775896
Pip Install Error-readtimeouterror:httpsconnectionpool