J*****n 发帖数: 4859 | 1 I am trying to install ntlm package. setup file is in following link
http://code.google.com/p/python-ntlm/source/browse/trunk/python
Then I got
Traceback (most recent call last):
File "C:/Python25/install_ntlm", line 26, in
install_requires = DEPENDENCIES,
File "C:\Python25\lib\distutils\core.py", line 139, in setup
raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: usage: install_ntlm [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_
opts] ...]
or: install_ntlm --help [cmd1 cmd2 ...]
or: install_ntlm --help-commands
or: install_ntlm cmd --help
error: no commands supplied
What does this mean?
Thank you. |
M*P 发帖数: 6456 | 2 python setup.py install
【在 J*****n 的大作中提到】 : I am trying to install ntlm package. setup file is in following link : http://code.google.com/p/python-ntlm/source/browse/trunk/python : Then I got : Traceback (most recent call last): : File "C:/Python25/install_ntlm", line 26, in : install_requires = DEPENDENCIES, : File "C:\Python25\lib\distutils\core.py", line 139, in setup : raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg : SystemExit: usage: install_ntlm [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_ : opts] ...]
|
J*****n 发帖数: 4859 | 3
Do I need to download anything before I run it?
I ran it already, but it said can;t find ntml path. But I can't find windows
package online neither.
Any suggestion?
Thank you.
【在 M*P 的大作中提到】 : python setup.py install
|
J*****n 发帖数: 4859 | 4
I downloaded all files from
http://code.google.com/p/python-ntlm/source/browse/#svn%2Ftrunk
to my local foloder /python25/Lib/ntml
Then I ran setup.py in DOS as you suggested.
It shows :
error: package directory 'ntml' does not exist
What should I do here?
Thank you.
【在 M*P 的大作中提到】 : python setup.py install
|
M*P 发帖数: 6456 | 5 刚才没看你给的链接,这个package不用setup,直接放在sitepackage里然后保证你的
pythonpath有这个路径就好了
【在 J*****n 的大作中提到】 : : I downloaded all files from : http://code.google.com/p/python-ntlm/source/browse/#svn%2Ftrunk : to my local foloder /python25/Lib/ntml : Then I ran setup.py in DOS as you suggested. : It shows : : error: package directory 'ntml' does not exist : What should I do here? : Thank you.
|