Install PIP under Windows

Source: Internet
Author: User
Tags virtualenv

This section describes two:

First, the PIP under the python3.4.x

Second, the PIP under the python2.7.x(I don't believe it!) I will not succeed in the Python2.7! )

First, switch to Python3.4.1

It used to be Python2.7.4, so we need to install PIP.

Last night to attack to 2 points to install PIP, but this morning with Pip install virtualenv error

Find posts in StackOverflow about installing PIP under Windows

Http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows mentioned that the PIP was integrated into the python3.4.x system, so it was loaded with Python3.4.1

Set the environment variables after installation and execute pip install virtualenv in cmd

Install successfully!

Second, re-install PIP in the Python2.7 (I don't believe it!) Not even successful! )

Back to Http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows

This post teaches us how to install PIP:

Click get-pip.py to get the code, and then we create a. py file ourselves (for example, we create get-pip.py), copy the code into it, and then run cmd as an administrator(my previous error was not doing so). Then execute the get-pip.py (I've set it up in the environment variable, which can be referenced in http://www.cnblogs.com/qiyeshublog/archive/2012/01/24/2329162.html)

This installs the pip!.

Try to install virtualenv in cmd:

Successfully installed vitualenv!

You can also see virtualenv in the C:\Python27\Scripts and C:\Python27\Lib\site-packages folders.

(End of article)

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.