Pip Install Error
OS X Terminal update pip error sudo pip install--upgrade pip:
1.readtimeouterror:httpsconnectionpool (host= ' pypi.python.org ', port=443): Read
Workaround: Increase timeout time, such as Pip--default-timeout=100 install-u pip
2. If the processing has not resolved the problem, or error ProtocolError: ("Connection broken:error (), ' Connection reset by Peer ')", Error (SI, ' Connection res ET by peer '))
Solution:
1. To https://pypi.python.org/simple/pip/ Download the latest. WHL file (such as PIP-8.1.2-PY2.PY3-NONE-ANY.WHL, note: The list is not sorted by publication time, and you find the latest. whl file by file name)
2. After downloading, install PIP under the Terminal: Pip Install (path)/PIP-8.1.2-PY2.PY3-NONE-ANY.WHL
In fact, if you encounter such a problem when you install some package files using PIP, you can install them by increasing the timeout time or by downloading the entire installation package that you want to install files directly.