From: John F Meinel Jr <john@jo...> - 2004-02-01 04:54:02
Earlier I posted a message stating that I had difficulties importing
OpenGL and that the problem resided in GL__init___.pyd
I believe I found the problem.
Specifically, PyOpenGL depends on numarray, not Numeric (numpy).
If you run from a console you will see this error:
Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenGL
Fatal Python error: Can't import module 'numarray.libnumarray'
If you are using a Python GUI such as IDLE, it will only give you a
Once I installed numarray-0.8, I could import OpenGL just fine.
Please update you're documentation to indicate this dependency change.
Or at the very least, change the name of the executable from:
Other than this small dependency problem, thank you very much for making
OpenGL work under python.
From: Mike C. Fletcher <mcfletch@ro...> - 2004-02-01 21:45:19
I'm going to try to get some time to do this. Right now I want to
concentrate on porting to SWIG 1.3.20. Honestly I didn't even know it
was *possible* to build with numarray. Going to have to figure out how
to differentiate between numpy and numarray during build to change the
Thanks for the heads up.
John F Meinel Jr wrote:
> Earlier I posted a message stating that I had difficulties importing
> OpenGL and that the problem resided in GL__init___.pyd
> I believe I found the problem.
> Specifically, PyOpenGL depends on numarray, not Numeric (numpy).
> If you run from a console you will see this error:
Mike C. Fletcher
Designer, VR Plumber, Coder