Jakub, On Sun, 2012-08-19 at 17:37 +0200, Jakub Wilk wrote: […] > It looks more like a bug in the package you're trying to install.
Yes in hindsight it does. I downloaded the package and manually
followed the instructions:
python2 setup.py install
for Python 2 and:
python3 setup.py build install
for Python 3. I didn't try the former but the latter doesn't work for me
run manually, it gives the same error message. I can't believe that a
package would have got into PyPI without being able to be installed for
Python 3 at least on Windows and Mac OS X, perhaps this is not the case.
> >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.
decode is a method of bytearray in Python3, __doc__ is a string. I
tried editing the setup.py to remove the decode() as not being necessary
in Python 3 and it seems to work.
So I don't see how this has ever worked for anyone :-(
I will push this problem upstream.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

