xgate1 / pylast

Automatically exported from code.google.com/p/pylast
Apache License 2.0
0 stars 0 forks source link

NameError: global name 'unicode' is not defined #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hi,
I'm on ubuntu jaunty
when I run

    sudo python setup.py install

I get this

    Traceback (most recent call last):
      File "setup.py", line 25, in <module>
        version = "0.4." + get_build(),
      File "setup.py", line 22, in get_build
        return unicode(build)
    NameError: global name 'unicode' is not defined

pyLast v 0.4.20
Downloaded from http://pypi.python.org/pypi/pylast

my python version

    $ python -V
    Python 3.0.1+

Original issue reported on code.google.com by behzad.s...@gmail.com on 2 Jan 2010 at 9:49

GoogleCodeExporter commented 8 years ago
pylast is not python3 compatible yet. Use the 2to3 from python on it until 
there's an 
official release for python3.

Original comment by amr.hassan on 2 Jan 2010 at 6:28