Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63448

Difficulty with ez_setup.py

From Rzed <rzantow@gmail.com>
Subject Difficulty with ez_setup.py
Date 2014-01-07 14:49 -0500
Newsgroups comp.lang.python
Message-ID <mailman.5150.1389124208.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Difficulty with ez_setup.py Rzed <rzantow@gmail.com> - 2014-01-07 14:49 -0500

csiph-web