*(I am running this on a 64-bit Windows 7 OS) I wrote and ran the following 
test code, straight from the documentation:*

import pyglet
window = pyglet.window.Window()
label = pyglet.text.Label('Hello, world',
                        font_name='Times New Roman',
                          font_size=36,
                          x=window.width//2, y=window.height//2,
                          anchor_x='center', anchor_y='center')
@window.event
def on_draw():
    window.clear()
    label.draw()
pyglet.app.run()

*This is the command prompt after attemtping to run.:*

>>> 
Traceback (most recent call last):
  File "C:\Users\Noah\Desktop\pygtest.py", line 1, in <module>
    import pyglet
  File "C:\Users\Noah\Desktop\pyglet\__init__.py", line 249
    print '%s%s %s' % (indent, name, location)
                  ^
SyntaxError: invalid syntax

*Next I tried test.py from the latest test folder and achieved the 
following results:*

>>> 
Traceback (most recent call last):
  File "C:\Pyglet\tests\test.py", line 225, in <module>
    import tests.regression
  File "C:\Pyglet\tests\..\tests\regression\__init__.py", line 11, in 
<module>
    from pyglet.image import get_buffer_manager
  File "C:\Pyglet\tests\..\pyglet\__init__.py", line 285
    print '[%d] %s%s %s' % (thread, indent, name, location)
                       ^
SyntaxError: invalid syntax

*I'm not sure what's going on. I've had lots of difficulties installing and 
I'm certain that I screwed up somewhere. Any advice would be appreciated, 
I'd love to use Pyglet if I could get it to work. I've read much of the 
official documentation and I can't wait to start writing my own code. If 
you need more information to help diagnose the issue, I'd be happy to 
oblige.*

-- 
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/d/optout.

Reply via email to