* Russel Winder <rus...@winder.org.uk>, 2012-08-19, 13:16:
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'

It looks more like a bug in the package you're trying to install.

My guess is that when running setup.py it does so with /usr/bin/python instead of /usr/bin/python3

Well, no, in Python 2.X str does have attribute 'decode'. In Python 3.X, it doesn't.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to