A question about installing Distutils

Hello, I'm trying to install the Distutils libarary since it does not included in my python installation. I run Suse linux. I have python 2.4. I've downloaded the distutils version 1.0.2 (the latest one). When I run 'python setup.pyinstall' from the installation directory, I get the following error: Traceback (most recent call last): File "setup.py", line 30, in ? packages = ['distutils', 'distutils.command'], File "/home/semantay/Distutils-1.0.2/distutils/core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "/home/semantay/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__' Please help me. Sergey

On Jul 30, 2006, at 10:43 AM, Sergei Emantayev wrote:
Hello,
I'm trying to install the Distutils libarary since it does not included in my python installation. I run Suse linux. I have python 2.4. I've downloaded the distutils version 1.0.2 (the latest one). When I run 'python setup.py install' from the installation directory, I get the following error:
I can't help you with the error you're getting, but if you want to use distutils on most linux distributions you should install the development package for python, commonly named 'python-dev' or 'python-devel'. Ronald

On 7/30/06, Ronald Oussoren <ronaldoussoren@mac.com> wrote:
On Jul 30, 2006, at 10:43 AM, Sergei Emantayev wrote:
Hello,
I'm trying to install the Distutils libarary since it does not included in my python installation. I run Suse linux. I have python 2.4. I've downloaded the distutils version 1.0.2 (the latest one). When I run 'python setup.py install' from the installation directory, I get the following error:
I can't help you with the error you're getting, but if you want to use distutils on most linux distributions you should install the development package for python, commonly named 'python-dev' or 'python-devel'.
Thank you Ronald for the infromation. I have installed python-devel now and distutils appears inside this package.
Ronald
Sergei
participants (2)
-
Ronald Oussoren
-
Sergei Emantayev