By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,241 Members | 2,048 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,241 IT Pros & Developers. It's quick & easy.

Beginning setup problem

P: n/a
Hello again,

Before few months,I write to this mailing list with python script
install problem,but nobody give me right solution.I work on windows
XP,and Python 2.4.
Now,when I write in Python 2.4:
>>from distutils.core import setup
setup(......) # whatever I write
I got the error:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in -toplevel-
setup()
File "C:\Python24\distutils\core.py", line 101, in setup
_setup_distribution = dist = klass(attrs)
File "C:\Python24\distutils\dist.py", line 130, in __init__
setattr(self, method_name, getattr(self.metadata, method_name))
AttributeError: DistributionMetadata instance has no attribute
'get___doc__'

When I run setup.py with CMD:

python setup.py install (or build or install)

Again I got the error:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in -toplevel-
setup()
File "C:\Python24\distutils\core.py", line 101, in setup
_setup_distribution = dist = klass(attrs)
File "C:\Python24\distutils\dist.py", line 130, in __init__
setattr(self, method_name, getattr(self.metadata, method_name))
AttributeError: DistributionMetadata instance has no attribute
'get___doc__'

Regards,
Vedran,
v-programs

Nov 1 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ve****@v-programs.com wrote:
Before few months,I write to this mailing list with python script
install problem,but nobody give me right solution.I work on windows
XP,and Python 2.4.
Now,when I write in Python 2.4:
>>>from distutils.core import setup
setup(......) # whatever I write
can you be a bit more precise?
I got the error:

Traceback (most recent call last):
File "<pyshell#1>", line 1, in -toplevel-
setup()
>>from distutils.core import setup
setup()
usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: --help [cmd1 cmd2 ...]
or: --help-commands
or: cmd --help

error: no commands supplied

</F>

Nov 1 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.