Python2 and Python3 are common under Windows causing python2 pip to fail to use the report SSL error

Source: Internet
Author: User

In the process of finding information, the information on the internet said. The higher version of PIP is the default using SSL, while the Python2 Pip is not using SSL;

The local environment, is to Python2 Pip and Python3 Pip has been processed by the end will have a call PIP2 and PIP3 environment

There could be a mistake in my operation that led to the direct use of PIP after installation, which would have ruined the python2 environment

Find the method from the Internet. have been unable to fix the Python2 SSL problem

And the only way to do that is to start over again. PIP installation: You must execute Python3 before executing python2.

python3-m pip install--upgrade pip--force-reinstall

python2-m pip install--upgrade pip--force-reinstall

It's still not working. Python2 using PIP2--trusted-host pypi.python.org install OPENPYXL

Python2 and Python3 are common under Windows causing python2 pip to fail to use the report SSL error

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.