Difficulty with ez_setup.py

R

Rzed

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top