From: Mike Pentney <mike.pentney@ph...> - 2004-07-15 16:11:42
I'm trying to get PyOpenGL up and running on my Windows XP (Home edition)
system. I'm using the ActiveState PythonWin version 2.3.2, and I've
downloaded and installed the following packages:
glut32.dll (version 3.7)
When I try to run an OpenGL script (for example, "openGLDemo.py" included
with the PythonWin distribution), Python crashes with an application error
(a memory access violation). Python also spits out a few exceptions, the
first of which is:
ImportError: No module named numarray.libnumarray
Any ideas? Am I using the wrong version of "numpy"?
Many thanks for any help you can give me.
p.s. you'll have guessed that I'm new to Python, but so far I'm very
impressed. I can't wait to start implementing real projects! (I'll be
especially pleased to get away from Visual Studio .net :-)
From: Mike C. Fletcher <mcfletch@ro...> - 2004-07-15 16:46:25
Mike Pentney wrote:
>glut32.dll (version 3.7)
>When I try to run an OpenGL script (for example, "openGLDemo.py" included
>with the PythonWin distribution), Python crashes with an application error
>(a memory access violation). Python also spits out a few exceptions, the
>first of which is:
>ImportError: No module named numarray.libnumarray
You will need to install NumArray as well, which is a follow-on project
to Numpy. The machine on which the binary installer was built had
NumArray installed, and for some silly reason that alters the *Numpy*
installation such that anything linked against Numpy on that machine has
a (pointless) dependency on NumArray. C is such a silly thing that way.
>Any ideas? Am I using the wrong version of "numpy"?
Numpy is fine, you just need to add NumArray to the mix.
Mike C. Fletcher
Designer, VR Plumber, Coder