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