python-devel installed; can't find distutils.core

Tristan Miller psychonaut at nothingisreal.com
Fri Jul 23 16:53:06 EDT 2004


Greetings.

I'm trying to install a Python program, rawdog, on a system running SuSE
9.0.  I have Python 2.3 and the development package installed via apt4rpm,
so distutils should be there.  But for some reason Python thinks
otherwise:

port-3108:/tmp/rawdog-1.13 # python ./setup.py install
Traceback (most recent call last):
  File "./setup.py", line 3, in ?
    from distutils.core import setup
ImportError: No module named distutils.core

port-3108:/tmp/rawdog-1.13 # head -3 setup.py
#!/usr/bin/env python

from distutils.core import setup

port-3108:/tmp/rawdog-1.13 # python -V
Python 2.3+

port-3108:/tmp/rawdog-1.13 # rpm -q python python-devel
python-2.3-52
python-devel-2.3.1-0

port-3108:/tmp/rawdog-1.13 #

Any ideas on what's causing this and how to fix it?

Regards,
Tristan

-- 
   _
  _V.-o  Tristan Miller [en,(fr,de,ia)]  ><  Space is limited
 / |`-'  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  <>  In a haiku, so it's hard
(7_\\    http://www.nothingisreal.com/   ><  To finish what you



More information about the Python-list mailing list