我第一次下載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試試這個。 –