I'm trying to package up a program I wrote that uses PyOpenGL-3.0.0b4-py2.5.egg, numpy-1.1.1-py2.5-macosx-10.3-ppc.egg installed with easy_install and PIL. I know there's been a bit of trouble getting PyOpenGL scripts to play nicely in py2app, but I have not been able to find any help about anyone that has run into the error "RuntimeError: Unable to find an implementation for the 'darwin' ('posix') platform". Generating the app file runs without complaint but this error occurs when trying to run the program.
Does anyone have any suggestions as to the cause or what to do? The console log is as follows: ----------------------------------------------------------------------------- 8/27/08 11:29:25 AM PyTensor[4893] PyTensor Error 8/27/08 11:29:25 AM PyTensor[4893] PyTensor Error An unexpected error has occurred during execution of the main script RuntimeError: Unable to find an implementation for the 'darwin' ('posix') platform 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] Traceback (most recent call last): 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Users/selassid/Projects/PyTensor/dist/PyTensor.app/Contents/Resources/__boot__.py", line 158, in <module> 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] _run('PyTensor.py') 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Users/selassid/Projects/PyTensor/dist/PyTensor.app/Contents/Resources/__boot__.py", line 134, in _run 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] execfile(path, globals(), globals()) 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Users/selassid/Projects/PyTensor/dist/PyTensor.app/Contents/Resources/PyTensor.py", line 10, in <module> 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] from OpenGL.GL import * 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyOpenGL-3.0.0b4-py2.5.egg/OpenGL/GL/__init__.py", line 2, in <module> 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] from OpenGL.raw.GL import * 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyOpenGL-3.0.0b4-py2.5.egg/OpenGL/raw/GL/__init__.py", line 6, in <module> 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] from OpenGL.raw.GL.constants import * 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyOpenGL-3.0.0b4-py2.5.egg/OpenGL/raw/GL/constants.py", line 7, in <module> 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] from OpenGL import platform, arrays 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyOpenGL-3.0.0b4-py2.5.egg/OpenGL/platform/__init__.py", line 57, in <module> 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] _load() 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyOpenGL-3.0.0b4-py2.5.egg/OpenGL/platform/__init__.py", line 53, in _load 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] sys.platform, os.name, 8/27/08 11:29:25 AM [0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893] RuntimeError: Unable to find an implementation for the 'darwin' ('posix') platform 8/27/08 11:29:27 AM com.apple.launchd[149] ([0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893]) Exited with exit code: 255 ----------------------------------------------------------------------------- Thanks for your help. - David Selassie _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig