J
Jason Mellone
Hello,
By way of google I realize I am having what appears to be a pretty common issue install ez_setup.py on a PC (Windows XP, Python27).
I receive an error message that looks like the following:
Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts
Installed c:\python27\lib\site-packages\setuptools-3.5.1-py2.7.egg
Processing dependencies for setuptools==3.5.1
Traceback (most recent call last):
File "setup.py", line 217, in <module>
dist = setuptools.setup(**setup_params)
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\install.py", line 65, in run
self.do_egg_install()
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\install.py", line 115, in do_egg_install
cmd.run()
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 360, in run
self.easy_install(spec, not self.no_deps)
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 576, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 627, in install_item
self.process_distribution(spec, dist, deps)
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 673, in process_distribution
[requirement], self.local_index, self.easy_install
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 633, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2291, in requires
dm = self._dep_map
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2277, in _dep_map
for extra, reqs in split_sections(self._get_metadata(name)):
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2715, in split_sections
for line in yield_lines(s):
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1989, in yield_lines
for ss in strs:
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2305, in _get_metadata
for line in self.get_metadata_lines(name):
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1369, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1361, in get_metadata
return self._get(self._fn(self.egg_info, name))
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1425, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in c:\python27\lib\site-packages
\setuptools-3.5.1-py2.7.egg
Something went wrong during the installation.
See the error message above.
C:\Python27>python ez_setup.py
Is there a common solution for this issue?
Thank you very much.
By way of google I realize I am having what appears to be a pretty common issue install ez_setup.py on a PC (Windows XP, Python27).
I receive an error message that looks like the following:
Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts
Installed c:\python27\lib\site-packages\setuptools-3.5.1-py2.7.egg
Processing dependencies for setuptools==3.5.1
Traceback (most recent call last):
File "setup.py", line 217, in <module>
dist = setuptools.setup(**setup_params)
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\install.py", line 65, in run
self.do_egg_install()
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\install.py", line 115, in do_egg_install
cmd.run()
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 360, in run
self.easy_install(spec, not self.no_deps)
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 576, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 627, in install_item
self.process_distribution(spec, dist, deps)
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\setuptools\co
mmand\easy_install.py", line 673, in process_distribution
[requirement], self.local_index, self.easy_install
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 633, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2291, in requires
dm = self._dep_map
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2277, in _dep_map
for extra, reqs in split_sections(self._get_metadata(name)):
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2715, in split_sections
for line in yield_lines(s):
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1989, in yield_lines
for ss in strs:
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 2305, in _get_metadata
for line in self.get_metadata_lines(name):
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1369, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1361, in get_metadata
return self._get(self._fn(self.egg_info, name))
File "c:\docume~1\jason\locals~1\temp\tmpqpn4qe\setuptools-3.5.1\pkg_resources
.py", line 1425, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in c:\python27\lib\site-packages
\setuptools-3.5.1-py2.7.egg
Something went wrong during the installation.
See the error message above.
C:\Python27>python ez_setup.py
Is there a common solution for this issue?
Thank you very much.