Is it python 2.5 with PyOpenGL 3.0?
If so, I think the problem has to do with eggs. PyOpenGL 3.x is
distributed using them, and py2exe doesn't support them.
I haven't actually got things working for myself yet, but thereis a
post by the PyOpenGL guy about it here:
http://blog.vrplumber.com/1762
he has two solutions, one involving adding the egg to the path,
another using some fixit script here:
http://pyopengl.cvs.sourceforge.net/pyopengl/OpenGL-ctypes/src/py2exeeggs.py?view=markup
...however neither worked for me, I get an error:
"ImportError: No module named pkg_resources"
hopefully you'll have more luck?
On Jan 21, 2008 5:43 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
Hi,
I've got a great new program, which I want to make available to people
without python. I'm compiling with py2exe. It's an OpenGL program, but
py2exe says it can't find OpenGL.GL or OpenGL.GLU, the two modules I'm
using. (In addition, pygame.movieext is missing, though I'm not using
that). How can I get the OpenGL modules? The program runs fine, so I'm not
missing OpenGL. I installed OpenGL using easy_install.
Thanks,
Ian