[Distutils] ez_setup.py fails with ImportError: No module named core

Phillip J. Eby pje at telecommunity.com
Wed Apr 16 21:53:36 CEST 2008


At 03:42 PM 4/16/2008 -0400, Deron Meranda wrote:
>For some reason I can not bootstrap setuptools 0.6c8 into a python.
>
>This is Python 2.5 running under AIX 5.2, and the site-packages
>directory is completely empty.  I've tried to use just ez_setup.py
>with no options, as well as downloading the egg file locally into
>a temporary directory and using:
>      python ez_setup.py -v -H "" setuptools-0.6c8-py2.5.egg
>
>I get this strange traceback every time:
>
>Downloading 
>http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg
>Traceback (most recent call last):
>   File "ez_setup.py", line 267, in <module>
>     main(sys.argv[1:])
>   File "ez_setup.py", line 200, in main
>     from setuptools.command.easy_install import main
>   File "build/bdist.linux-i686/egg/setuptools/__init__.py", line 2, 
> in <module>
>   File "build/bdist.linux-i686/egg/setuptools/extension.py", line 
> 1, in <module>
>ImportError: No module named core

This is an indication that your distutils installation is broken 
and/or missing.  Make sure that if your OS has a 'python-dev' or 
'python-devel' or 'python-distutils' package, that it's installed.



More information about the Distutils-SIG mailing list