![]() ![]() But when I run the pyglet "hello world" program from within this project, I get the following error pydev debugger: startingįile "/Applications/eclipse/plugins/_1.090812/pysrc/pydevd.py", line 1145, in įile "/Applications/eclipse/plugins/_1.090812/pysrc/pydevd.py", line 916, in runĮxecfile(file, globals, locals) #execute the scriptįile "/Users/andrewfogg/Dropbox/EnvironmentalArt/src/art.py", line 2, in įile "/opt/local/Library/Frameworks/amework/Versions/2.6/lib/python2.6/site-packages/pyglet/_init_.py", line 306, in _getattr_įile "/opt/local/Library/Frameworks/amework/Versions/2.6/lib/python2.6/site-packages/pyglet/window/_init_.py", line 1669, in įrom import CarbonPlatform, CarbonWindowįile "/opt/local/Library/Frameworks/amework/Versions/2.6/lib/python2.6/site-packages/pyglet/window/carbon/_init_.py", line 69, in įramework='/System/Library/Frameworks/amework')įile "/opt/local/Library/Frameworks/amework/Versions/2.6/lib/python2.6/site-packages/pyglet/lib.py", line 90, in load_library I have created a new project and set the MacPorts python as the project's interpreter. I have added the MacPorts python, /opt/local/Library/Frameworks/amework/Versions/2.6/Resources/Python.app/Contents/MacOS/PythonĪs a Python interpreter (Preferences > Pydev > Interpreter - Python). ![]() However, I like to use PyDev in Eclipse but I cannot work out how to configure PyDev to run python as a 32-bit process. Pyglet only works when built for 32-bit archs so in order to use it I must run python from the command line like this, arch -i386 /opt/local/Library/Frameworks/amework/Versions/2.6/Resources/Python.app/Contents/MacOS/PythonĪnd then I can successfully run the pyglet "hello world" program. I have installed pyglet onto Mac OS X 10.7.4 using MacPorts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |