Comment 0 for bug 910965

Revision history for this message
Dmitry Tantsur (divius) wrote :

$ sudo easy_install3 pyzmq
Searching for pyzmq
Reading http://pypi.python.org/simple/pyzmq/
Reading http://github.com/zeromq/pyzmq
Reading http://github.com/zeromq/pyzmq/downloads
Best match: pyzmq 2.1.11
Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.11.zip
Traceback (most recent call last):
  File "/usr/bin/easy_install3", line 9, in <module>
    load_entry_point('distribute==0.6.16dev-r0', 'console_scripts', 'easy_install')()
  File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1912, in main
    with_ei_usage(lambda:
  File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1893, in with_ei_usage
    return f()
  File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1916, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib/python3.2/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.2/distutils/dist.py", line 917, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 364, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 591, in easy_install
    self.local_index
  File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 492, in fetch_distribution
    dist = find(requirement)
  File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 475, in find
    location=self.download(dist.location, tmpdir)
  File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 414, in download
    found = self._download_url(scheme.group(1), spec, tmpdir)
  File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 663, in _download_url
    return self._attempt_download(url, filename)
  File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 672, in _attempt_download
    headers = self._download_to(url, filename)
  File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 583, in _download_to
    content_length = headers.getheaders("Content-Length")[0]
AttributeError: 'HTTPMessage' object has no attribute 'getheaders'

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python3-setuptools 0.6.16-1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 3 00:33:54 2012
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: distribute
UpgradeStatus: Upgraded to oneiric on 2011-08-10 (145 days ago)