Mohammad Moghimi a écrit :
[...]
checking that Python has a working distutils... configure: error:
***** Distutils is not available or is incomplete for /usr/bin/python
***** If you installed Python from RPM (or other package manager)
***** be sure to install the -devel package, or install Python
***** from source. See README.LINUX for details
I downloaded Distutil from python.org
http://www.python.org/sigs/distutils-sig/download/Distutils-1.0.2.tar.gz
I wanted to install this one but I got another error message in running
python setup.py install
Traceback (most recent call last):
File "setup.py", line 30, in ?
packages = ['distutils', 'distutils.command'],
File
"/home/soccer/mohammad/python/Distutils-1.0.2/distutils/core.py", line
101, in setup
_setup_distribution = dist = klass(attrs)
File
"/home/soccer/mohammad/python/Distutils-1.0.2/distutils/dist.py", line
130, in __init__
setattr(self, method_name, getattr(self.metadata, method_name))
AttributeError: DistributionMetadata instance has no attribute
'get___doc__'
How can I solve this problem?!
-- Mohammad
Hi all,
This problem is not about mailman, but about the Distutils. I
have the same bug on Windows. It'is very boring because py2exe needs
the distutils. The bug needs to be fixed manually in the source of the
distutils in :
"distutils/dist.py", line 130, in __init__"
The bug is easy to fix (I will post the solution later, if I can found
it).
I hope this information will help you.
Nobody else has this bug with the Distutils ?
|
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor