ez_setup.py fails with ImportError: No module named core
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 Furthermore, the local egg file setuptools-0.6c8-py2.5.egg is removed from my working directory! My working directory is completely outside of the python path or site-packages dir. I also tried using the -d option to explicitly point to the site-packages dir, but the results are the same. I can not figure out what exactly is wrong. Any ideas? -- Deron Meranda
On Wed, Apr 16, 2008 at 3:42 PM, Deron Meranda <deron.meranda@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
participants (1)
-
Deron Meranda