由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - A python problem
相关主题
Design question: how to create installation package to covrepast 请进: python debian安装问题
python smtp 587 连不上gmail, socket error?问python高手一个问题
请教Python问题What's the problem with 'ascii' codec? (转载)
请推荐一个稳定的Python集成环境boost.python 入门问题
Please help: regarding ftp scripting in Windows xp Command prompt怎么写个程序实现自动登录然后下载文件
问一个Mandriva 2007 下Tix的问题python 问题
请问有没有用过IMSL库的大虾? (转载)问一个python问题
Help: undefined symbol快要被Python的兼容性弄疯了
相关话题的讨论汇总
话题: ntlm话题: install话题: cmd1话题: cmd2话题: opts
进入Programming版参与讨论
1 (共1页)
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.

1 (共1页)
进入Programming版参与讨论
相关主题
快要被Python的兼容性弄疯了Please help: regarding ftp scripting in Windows xp Command prompt
求助调试c++程序问一个Mandriva 2007 下Tix的问题
python的re怎么有很多莫名奇妙的行为, 我估计是bug吧请问有没有用过IMSL库的大虾? (转载)
python一问,怎么实现这个函数Help: undefined symbol
Design question: how to create installation package to covrepast 请进: python debian安装问题
python smtp 587 连不上gmail, socket error?问python高手一个问题
请教Python问题What's the problem with 'ascii' codec? (转载)
请推荐一个稳定的Python集成环境boost.python 入门问题
相关话题的讨论汇总
话题: ntlm话题: install话题: cmd1话题: cmd2话题: opts