【发布时间】:2011-08-31 17:14:45
【问题描述】:
我下载了 python-ntlm-1.0.tar.gz 并尝试安装。我将 .tar 文件解压缩到它自己的目录 (C:\python-ntlm-1.0) 并在该目录的命令提示符下执行以下命令:
C:\python27\python.exe C:\Python27\Tools\Scripts\setup.py install
我得到以下输出:
running install
running build
running build_scripts
error: file 'C:\python-ntlm-1.0\byteyears.py' does not exist
我查找该文件并在我的脚本目录中找到它并将 .tar 放在脚本目录中并再次尝试,但它并没有真正安装它,因为当我执行我的 python 脚本时,我继续得到ImportError: No module named ntlm.
任何帮助将不胜感激。
【问题讨论】: