pythonlinuxtrac

Installation error when using easy_install


I installed Edgewall Trac0.11 in Linux Mandriva and I need a module setuptools-0.6c11-py2.5.egg for Python2.5.

When I run the following:

sh setuptools-0.6c11-py2.5.egg

I get an error:

error: Invalid Python installation: 
unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)

I do as described here: http://pypi.python.org/pypi/setuptools#downloads

I can specify the installation path:

sh setuptools-0.6c11-py2.5.egg --install-dir /var/setuptool

But the same error occurs.

What am I doing wrong?


Solution

  • One alternative is to try installing the Mandriva package for setuptools with:

    $ yum install python-setuptools