Skip to content

Instantly share code, notes, and snippets.

@ajw0100
Created March 9, 2014 01:20
Show Gist options
  • Save ajw0100/9441607 to your computer and use it in GitHub Desktop.
Save ajw0100/9441607 to your computer and use it in GitHub Desktop.
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-3.1.zip
Extracting in /tmp/tmpCfGRaR
Now working in /tmp/tmpCfGRaR/setuptools-3.1
Installing Setuptools
Traceback (most recent call last):
File "setup.py", line 203, in <module>
dist = setuptools.setup(**setup_params)
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/tmpCfGRaR/setuptools-3.1/setuptools/command/install.py", line 74, in run
self.do_egg_install()
File "/tmp/tmpCfGRaR/setuptools-3.1/setuptools/command/install.py", line 97, in do_egg_install
cmd.run()
File "/tmp/tmpCfGRaR/setuptools-3.1/setuptools/command/easy_install.py", line 358, in run
self.easy_install(spec, not self.no_deps)
File "/tmp/tmpCfGRaR/setuptools-3.1/setuptools/command/easy_install.py", line 574, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/tmp/tmpCfGRaR/setuptools-3.1/setuptools/command/easy_install.py", line 625, in install_item
self.process_distribution(spec, dist, deps)
File "/tmp/tmpCfGRaR/setuptools-3.1/setuptools/command/easy_install.py", line 671, in process_distribution
[requirement], self.local_index, self.easy_install
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 633, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 2291, in requires
dm = self._dep_map
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 2277, in _dep_map
for extra,reqs in split_sections(self._get_metadata(name)):
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 2715, in split_sections
for line in yield_lines(s):
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 1989, in yield_lines
for ss in strs:
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 2305, in _get_metadata
for line in self.get_metadata_lines(name):
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 1369, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 1361, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/tmp/tmpCfGRaR/setuptools-3.1/pkg_resources.py", line 1425, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/lib/python2.7/dist-packages/setuptools-3.1-py2.7.egg
Something went wrong during the installation.
See the error message above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment