[Distutils] distutils install probs on suse 9.0

David Handy david at handysoftware.com
Tue May 18 07:43:53 EDT 2004


On Tue, 18 May 2004, Floris van der Tak wrote:

> my attempt to install the distutils on suse 9.0 (which provides python
> 2.3) fails:

Why are you installing distutils on a system that already has Python 2.3 
installed? Python 2.3 normally comes with distutils as part of the Python 
standard library.

Did suse distribute a version of Python that had distutils removed?

> 
> python/Distutils-1.0.2> python setup.py build
> Traceback (most recent call last):
>   File "setup.py", line 30, in ?
>     packages = ['distutils', 'distutils.command'],
>   File "/home/floris/lib/python/Distutils-1.0.2/distutils/core.py", line
> 101, in setup
>     _setup_distribution = dist = klass(attrs)
>   File "/home/floris/lib/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__'
> 

It appears from this stack trace that the error is occurring in a version
of distutils located in /home/floris/lib/python/Distutils-1.0.2/ .

Did you previously install distutils to that directory, or is that the
directory you are running setup.py from?

> 
> Your help would be appreciated,
> 
>    Floris van der Tak

Good luck.




More information about the Distutils-SIG mailing list