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

Deron Meranda deron.meranda at gmail.com
Wed Apr 16 21:55:35 CEST 2008


On Wed, Apr 16, 2008 at 3:42 PM, Deron Meranda <deron.meranda at gmail.com> wrote:
> For some reason I can not bootstrap setuptools 0.6c8 into a python.
> ...
>  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

I think I figured this out.  It's nothing to do with setuptools.
The Python I'm using has a missing file,
   .../lib/python2.5/distutils/core.py

I think something scanning the system must have thought it
was a core dump file instead and removed it.
-- 
Deron Meranda


More information about the Distutils-SIG mailing list