On Tue, Nov 18, 2008 at 10:52 AM, tiloprobst <[EMAIL PROTECTED]> wrote:
>
> I tried the Mac installer 
> http://www.python.org/ftp/python/2.6/python-2.6-macosx.dmg
> from http://python.org/download/ , now executing the hello world
> example I get:
>
> pyglet.app.run()Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> python2.3/site-packages/pyglet/__init__.py", line 69, in ?
>    _require_ctypes_version('1.0.0')
>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> python2.3/site-packages/pyglet/__init__.py", line 64, in
> _require_ctypes_version
>    import ctypes
> ImportError: No module named ctypes
>>>> >>> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> NameError: name 'pyglet' is not defined
>>>> ... ... ... ... Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> NameError: name 'pyglet' is not defined
>>>> >>>   File "<stdin>", line 1
>    @window.event
>    ^
> SyntaxError: invalid syntax
>>>> ... ... ... >>>
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> NameError: name 'pyglet' is not defined
>
> Why does it still use version 2.3?

You'll need to change the link in /usr/bin and/or add /usr/local/bin
to your path.

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to