[Distutils] Distutils 1.0.2 setup error

David Handy david at handysoftware.com
Thu Jun 3 12:44:53 EDT 2004


This sounds just like a similar question someone posted a few days ago.

Normally you shouldn't install distutils - it comes with python.

But apparently SuSe Linux improperly removed disutils out of the python
standard library and put it in a separate package (called python-devel ?).  
Search this mailing list archive for SuSE and you'll find the details.

On Wed, 2 Jun 2004, damon fasching wrote:

> 
> Hi,
> 
> I've just attempted to install Distutils-1.0.2 with
> 
> python setup.py install
> 
> and got the following error.
> 
> ======================================================
> 
> Traceback (most recent call last):
>   File "setup.py", line 30, in ?
>     packages = ['distutils', 'distutils.command'],
>   File
> "/home/damon/download/software/python/distutils/Distutils-1.0.2/distutils/core.py",
> line 101, in setup
>     _setup_distribution = dist = klass(attrs)
>   File
> "/home/damon/download/software/python/distutils/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__'
> 
> ======================================================
> 
> I'm running Python 2.3.4 on a Linux 2.4 x86 box, if
> that matters.
> 
> Any ideas on how I can get distutils to install?
> 
> Thanks,
>   Damon
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
> 




More information about the Distutils-SIG mailing list