Python Learning: Installation of Python easy_install under Windows

Source: Internet
Author: User
Tags virtualenv

                    installation of Python Easy_install under WindowsDownload Install Python Installation tool: Http://pypi.python.org/pypi/setuptools can find the correct version to download. Win7 32-bit can download setuptools-0.6c11.win32-py2.7.exe.
Note: The Win7 64-bit must be installed using ez_setup.py. By downloading ez_setup.py, the Python ez_setup.py is executed under CMD to automatically install the Setuptools. There are currently no direct EXE installation versions.
Note 2: Updated a simpler way, you can jump directly to the last side
After the download is complete, double-click the Execute installation file to install the Easy_install under D:\Program files\python2.7\scripts. Include a easy_install.exe, and then set the environment variable to do the following in the system environment variable:
(That is, add D:\Program files\python2.7\scripts to the environment variable) 此时可以在控制台看easy_install 是否安装上了。   Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\zhuyupeng>easy_install
error: No urls, filenames, or requirements specified (see --help)
  the above method is not correct, you need to use the following method:

C:\users\zhuyupeng> easy_install virtualenv
Searching For virtualenv
Best match:virtualenv 1.7.2
Processing Virtualenv-1.7.2-py2.7.egg
Virtualenv 1.7.2 is already The active version in easy-install.pth
Installing virtualenv-script.py script to D:\Program files\python2.7\scripts< br>installing virtualenv.exe script to D:\Program files\python2.7\scripts
Installing Virtualenv.exe.manifest Script to D:\Program files\python2.7\scripts
Installing virtualenv-2.7-script.py script to D:\Program files\ Python2.7\scripts

Installing Virtualenv-2.7.exe script to D:\Program files\python2.7\scripts
Installing Virtualenv-2.7.exe.manifest script to D:\Program FILES\PYTHON2.7\SCRI
pts

Using D:\Program files\python2.7 \lib\site-packages\virtualenv-1.7.2-py2.7.egg
Processing dependencies for virtualenv
finished processing Dependencies for virtualenv

Python learning: Installation of Python easy_install under Windows

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.