2010/3/10 Daniel Wirdehäll <[email protected]> > Hi > > I've been browsing around the web to get pyglet working on my Mac. > I have read all the workarounds where thay tell you that you need to > tell python to run as 32-bit and so on. > > The thing is that i don't think thats the problem, you see i have > ubuntu 9.10 x86_64 on another machine with python in 64 bit and pyglet > works just great there so i'm a bit confused. > > Can anyone shed some light on this? > > -- Daniel Wirdehäll
Pyglet takien in isolation has no problems with 64-bit, and thus the reason why it runs on your 64-bit Ubuntu. However, on the Mac, pyglet's windowing, font and event support are implemented on top of the Carbon API, which has been deprecated by Apple, and is not available for 64-bit. Thus in this environment pyglet cannot run in 64-bit mode. If you install a 32-bit python on your Mac, pyglet should run fine in that. In addition, there is a thread around somewhere about porting pyglet to the Cocoa API, which would remove this restriction, but the effort is currently unmaintained. Note that a similar problem seems to occur with the Windows implementation, and the workaround is the same: use a 32-bit version of python. -- Tristam MacDonald http://swiftcoder.wordpress.com/ -- 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.
