Thursday, November 27, 2014

Python and Pyglet

If you'll be using pyglet with Python 2.7.8, save yourself some aspirin and install the 32 bit version of Python instead of the 64 bit.

It will install on 64bit Python but you'll encounter an error even just with the hello world example.

window = pyglet.window.Window()   File "C:\opt\Python27\lib\site-packages\pyglet\__init__.py", line 306, in __getattr__     __import__(import_name) 

After changing to the 32bit Python and pyglet combo, the sample ran fine.


No comments:

Post a Comment