5 ms·
More than 100 lines of this are textures! Got this error though. Any ideas? OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no s
by scottrogowski 14y ago
More than 100 lines of this are textures!
Got this error though. Any ideas?
OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no suitable image found. Did find:
/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
- TkTech 14y agoIt was built with an old version of pyglet trying to run on 64bit python. Update.
- grimgrin 14y agoUnless I'm just terribly mistaken, good luck getting pyglet to run on OS X right now. However, I really hope I am wrong, because that means I was just being a fool last week and will soon be using pyglet.
- TrevorJ 14y agoThat's sad to hear - I ran in to that last week with pygame (can't run it in a 64 bit environment on OS X).
- macmac 14y agoLooks like pyglet now runs on OS X: http://www.pyglet.org/news.html http://www.pyglet.org/news.html
- TkTech 14y agoPyglet is very slow for releases, it's almost always better to build it right out of hg (pip install hg+https://pyglet.googlecode.com/hg/ https://pyglet.googlecode.com/hg/). It's had Cocoa support for something like a year, at least.
- slunk 14y agoI got a similar error. "arch -i386 python main.py" solve the problem for me.
- dangoldin 14y agoTry running it using 32 bit Python vs 64 bit Python. It also depends on your OS. Which OS X are you on?
- scottrogowski 14y agoI got it to work on OSX 10.8! slunk's suggestion: `arch -i386 python main.py` got me halfway there You also have to run it with python 2.6 like so: `arch -i386 /usr/bin/python2.6 main.py` If you only have pyglet for 2.7, you will have to install it for 2.6. Installing packages in python for 2.6 will require pip-2.6 which you get like this: `sudo easy_install-2.6 pip` then `pip-2.6 install pyglet` Walla!
- huskyr 14y agoI needed to run the last command as sudo: sudo pip-2.6 install pyglet After that it worked perfectly. Thanks!
- Alphasite_ 14y agoAnother option is to use a version of Pyglet from the main repository on googlecode. Thats been updated to avoid the Avbin problems and add OSX 64 bit support.
- oms1005 14y agoThat worked great for me, thanks!
- albertzeyer 14y agoI had to use this command: arch -i386 /System/Library/Frameworks/Python.framework/Resources/Python.app/Contents/MacOS/Python main.py Someone should update Pyglet... Why does it need QuickTime?