python2.7,安装ez_setup.py出错
系统是win64位的,所以只能使用ez_setup.py安装setuptools,结果不管是python2.7还是python3.3都有错,都找不到解决方法。python2.7的错误提示如下:
Traceback (most recent call last):
File "C:\Python27\ez_setup.py", line 278, in <module>
main(sys.argv[1:])
File "C:\Python27\ez_setup.py", line 210, in main
egg = download_setuptools(version, delay=0)
File "C:\Python27\ez_setup.py", line 132, in download_setuptools
import urllib.request, shutil
ImportError: No module named request Python
[解决办法]
a replacement for setuptools...
http://www.lfd.uci.edu/~gohlke/pythonlibs/#distribute