google-code-export / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

[python3] Conversion fail 2t3 with "python setup.py install" #578

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

After read the PY3K file, which said "python setup.py install" should 
automatically convert py2 code to py3 code, I tried it, and it is not really 
that.

I had this message.

>>> import pyglet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyglet/__init__.py", line 283
    print '[%d] %s%s %s' % (thread, indent, name, location)
                       ^
SyntaxError: invalid syntax

Some informations about my python version :
% python --version
Python 3.2.3
Running on Arch Linux

Command used to install : sudo python setup.py install

I suppose it’s just a fail of version detection.

Cordially,

Nado

Original issue reported on code.google.com by nado1...@gmail.com on 25 May 2012 at 7:18

GoogleCodeExporter commented 9 years ago
I’m ashamed but it was my fault, I didn’t check the rights on directories 
and files, it seems fixed now.

Original comment by nado1...@gmail.com on 25 May 2012 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 10 Jun 2012 at 8:38