[Python-modules-team] Bug#685302: python3-pip: Fails to be able to install packages from PyPI
Russel Winder
russel at winder.org.uk
Sun Aug 19 12:16:44 UTC 2012
Package: python3-pip
Version: 1.1-3
Severity: important
Dear Maintainer,
>> pip-3.2 install html
Downloading/unpacking html
Running setup.py egg_info for package html
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/root/build/html/setup.py", line 12, in <module>
long_description = __doc__.decode('utf8'),
AttributeError: 'str' object has no attribute 'decode'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/root/build/html/setup.py", line 12, in <module>
long_description = __doc__.decode('utf8'),
AttributeError: 'str' object has no attribute 'decode'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /root/build/html
Storing complete log in /root/.pip/pip.log
My guess is that when running setup.py it does so with /usr/bin/python instead of /usr/bin/python3
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=str=こんにちわ世界, bytes_read=21, bytes_written=21) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python3-pip depends on:
ii python3 3.2.3-5
ii python3-pkg-resources 0.6.24-1
ii python3-setuptools 0.6.24-1
ii python3.2 3.2.3-3
Versions of packages python3-pip recommends:
ii build-essential 11.5
ii python3-dev 3.2.3-5
python3-pip suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list