我第一次下载Python 3.3的目的是随后添加xlrd和xlwt以与excel一起使用。我一直无法安装easy_install
,distribute
或上述任一项。安装基本Python模块
这是一个错误信息分发下载,解压缩,从空转distribute_setup.py
后,我得到:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gz
Extracting in c:\users\t\appdata\local\temp\tmpecnfj9
Now working in c:\users\t\appdata\local\temp\tmpecnfj9\distribute-0.6.49
Installing Distribute
Something went wrong during the installation.
See the error message above.
Traceback (most recent call last):
File "C:\Python33\Lib\site-packages\distribute-0.6.49\distribute_setup.py", line 556, in <module>
sys.exit(main())
SystemExit: 2
总的来说,我无法安装和使用任何模块。我假设我错过了一个非常基本的步骤。
您是否尝试过在IDLE之外运行它? – geoffspear
http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows试试这个。 –