I'm trying to use py2app to package an OpenGL app, so first I tried to
build the example here

http://svn.pythonmac.org/py2app/py2app/trunk/examples/PyOpenGL/

and I get the error:

>  File 
> "/opt/local/lib/python2.5/site-packages/PyOpenGL-3.0.0c1-py2.5.egg/OpenGL/platform/darwin.py",
>  line 24, in <module>
>    import ctypes, ctypes.util
>ImportError: No module named util
>2009-05-28 13:55:06.819 lesson5[19965:10b] lesson5 Error
>2009-05-28 13:55:06.821 lesson5[19965:10b] lesson5 Error
>An unexpected error has occurred during execution of the main script
>
>ImportError: No module named util

But when I open up my python interactive interpreter and "import
ctypes.util", it works fine (using lesson5.app/Contents/MacOS/python,
too).

Thanks for the help.

-tom
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to