Pip Install Error-readtimeouterror:httpsconnectionpool (host= ' pypi.python.org ', port=443): Read__python

Source: Internet
Author: User
Tags connection reset
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.