damien.gouteux at gmail.com
Tue Aug 2 11:20:32 CEST 2005
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://python.org>
> 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'],
> "/home/soccer/mohammad/python/Distutils-1.0.2/distutils/core.py", line
> 101, in setup
> _setup_distribution = dist = klass(attrs)
> "/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
> How can I solve this problem?!
> -- Mohammad
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor