On Sun, Apr 25, 2010 at 3:30 PM, new2Cocos <[email protected]> wrote:

> Hi everybody,
>
>

[snip]

> I guess the problem is that python couldn't launch the display (3 last
> lines) then I tried
>
>
> $ pythonw hello_world.py
>
> as suggested but this time I got
>
>
> Traceback (most recent call last):
>  File "hello_world.py", line 11, in ?
>    import cocos
>  File "/Users/abdellahchkifa/Desktop/MyFirstCocosApp/cocos/
> __init__.py", line 62, in ?
>    import os, pyglet
>  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
>
>
> notice that this time, pythonw looks for frameworks in the python2.3
> version directory, weird.
>
> a detailed help would be appreciated, I'm a total beginner to python,
> pyglet and cocos.
>
> best regards.
>
>
>


note that in your second try you got python 2.3, which don't have the module
ctypes.

--
claudio

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" 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/cocos-discuss?hl=en.

Reply via email to