下载msi的安装包:

https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi

【incorrect】

PS C:\Python27> .\python ez_setup.py

【correct】

PS C:\Python27> .\python ez_setup.py

[result]

PS C:\Python27> .\python Tools\Scripts\ez_setup.py
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
Processing setuptools-.6c11-py2..egg
Copying setuptools-.6c11-py2..egg to c:\python27\lib\site-packages
Adding setuptools .6c11 to easy-install.pth file
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
Installing easy_install.exe.manifest script to C:\Python27\Scripts
Installing easy_install-2.7-script.py script to C:\Python27\Scripts
Installing easy_install-2.7.exe script to C:\Python27\Scripts
Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts Installed c:\python27\lib\site-packages\setuptools-.6c11-py2..egg
Processing dependencies for setuptools==.6c11
Finished processing dependencies for setuptools==.6c11
05-11 20:23