Pip Install Error-readtimeouterror:httpsconnectionpool

Source: Internet
Author: User
Tags connection reset

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

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.