On Sat, Jun 9, 2012 at 7:12 PM, Jonathan Hartley <[email protected]> wrote:
> One step forward:
>
> Using the same alias 'python' to run in 32 bit mode:
>
> $ python
> Python 3.2.2 (v3.2.2:137e45f15c0b, SepĀ  3 2011, 17:28:58)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import pyglet
>>>> pyglet.options['darwin_cocoa'] = True
>
>>>> import pyglet.window
> Traceback (most recent call last):
[...]
> ImportError: No module named Foundation

I think you are missing PyObjC, but I've no experience with that.
Maybe you can try: http://code.google.com/r/evilphillip-cocoa-ctypes2/
As I understand it, this uses ctypes for interfacing with cocoa, not
requiring PyObjC.
And it seems, this will be soon the default implementation in pyglet,
according to this thread:
https://groups.google.com/d/msg/pyglet-users/fRYR_FUsrMQ/Y1T1MEKEOSoJ

-- 
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