* Russel Winder <[email protected]>, 2012-08-19, 13:16:
pip-3.2 install htmlDownloading/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 _______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

