Difficulty with ez_setup.py

Rzed rzantow at gmail.com
Tue Jan 7 14:49:01 EST 2014


I am trying to run ez_setup.py on a fresh installation of Python 2.7.6 
in a Win XP environment, but I keep getting an error. Here's the traceback:

C:\Python27\Lib>python ez_setup.py
Extracting in c:\docume~1\dick\locals~1\temp\tmpkjidy0
Now working in c:\docume~1\dick\locals~1\temp\tmpkjidy0\setuptools-2.0.2
Installing Setuptools
Traceback (most recent call last):
   File "setup.py", line 17, in <module>
     exec(init_file.read(), command_ns)
   File "<string>", line 8, in <module>
   File 
"c:\docume~1\dick\locals~1\temp\tmpkjidy0\setuptools-2.0.2\setuptools\__init__.py", 
line 11, in <module>
     from setuptools.extension import Extension
   File 
"c:\docume~1\dick\locals~1\temp\tmpkjidy0\setuptools-2.0.2\setuptools\extension.py", 
line 5, in <module>
     from setuptools.dist import _get_unpatched
   File 
"c:\docume~1\dick\locals~1\temp\tmpkjidy0\setuptools-2.0.2\setuptools\dist.py", 
line 16, in <module>
     import pkg_resources
   File 
"c:\docume~1\dick\locals~1\temp\tmpkjidy0\setuptools-2.0.2\pkg_resources.py", 
line 31, in <module>
     from pkgutil import get_importer
ImportError: cannot import name get_importer
Something went wrong during the installation.
See the error message above.

It's been awhile since I last installed ez_install, and I remember it 
being a pain, but I don't remember this issue. What am I doing wrong?

On a possibly related note, is there a specific place that ez_setup.py 
is expected to be in when this is run?

-- 
rzed




More information about the Python-list mailing list