On Sun, Sep 22, 2013 at 6:30 PM, Tristam MacDonald <[email protected]>wrote:

> On Sun, Sep 22, 2013 at 4:50 PM, Michal Frystacky <
> [email protected]> wrote:
>
>> Hello friends,
>> I am currently: OSX 10.8.5 and python 3.3.2 (v3.3.2:d047928ae3f6, May 13
>> 2013, 13:52:24).
>> I pulled the pyglet source from https://pyglet.googlecode.com/hg/ and ran
>>
>>>  python3 setup.py install.
>>
>> The install script seemed to run fine, but
>> >>> import pyglet
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "./pyglet/__init__.py", line 276
>>     print '[%d] %s%s %s' % (thread, indent, name, location)
>>                        ^
>> SyntaxError: invalid syntax
>>
>> I cannot even import pyglet without an error occuring, how can I fix this?
>> Thank you!
>>
> As I understand it, Pyglet support for python3 is still experimental.
>
> At any rate, you'll need to run pyglet through the 2to3 tool.
>
> --
> Tristam MacDonald
>
> <http://groups.google.com/group/pyglet-users>
>

If you install to python with

    python setup.py install

the 2to3 will be run automatically (if you installed before from python 2.x
from the same directory, delete the 'build' directory)

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to