newbie question

Eric Brewer brewer at cs.berkeley.edu
Sat Oct 9 01:05:13 EDT 2004


I just installed Python on a Debian (testing) box and it generally works 
fine, but it can't find distutils.core:

 >>> from distutils.core import setup
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
ImportError: No module named distutils.core


I think my path is OK:

 >>> sys.path
['', '/usr/lib/python23.zip', '/usr/lib/python2.3', 
'/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', 
'/usr/lib/python2.3/lib-dynload', 
'/usr/local/lib/python2.3/site-packages', 
'/usr/lib/python2.3/site-packages']


1) Where should distutils be?  (This 2.3.4, so I think it is a standard 
module.)

2) Is there any see if "dist*" is anywhere on the path?


Thanks,

-Eric



More information about the Python-list mailing list