bndnsuy 发表于 2015-2-8 20:25
通常package会做个setup.py供使用者安装用,没有的话就要看它是否有另外的安装说明
我意思是说,解压到 ...
还是没搞明白,在command prompt里输入python的时候,提示“不是内部命令。。。。。”
然后打算用setuptools来安装的,结果安装介绍的运行ez_setup.py来安装,也报错
“”“
Downloading
https://pypi.python.org/packages ... setuptools-12.1.zip
Extracting in c:\users\ioz-731\appdata\local\temp\tmpm2zn8r
Traceback (most recent call last):
File "D:\Python_modules\ez_setup.py", line 356, in <module>
sys.exit(main())
File "D:\Python_modules\ez_setup.py", line 353, in main
return _install(archive, _build_install_args(options))
File "D:\Python_modules\ez_setup.py", line 49, in _install
with archive_context(archive_filename):
File "D:\Program files\Python 2.7.8\lib\contextlib.py", line 17, in __enter__
return self.gen.next()
File "D:\Python_modules\ez_setup.py", line 99, in archive_context
os.chdir(tmpdir)
WindowsError: [Error 5] : 'c:\\users\\ioz-731\\appdata\\local\\temp\\tmpm2zn8r'
”“”
实在是不明白出了什么问题