You're almost certainly using the pre-built PyOpenGL 2.0.1,
which is built with Numpy 23 present. The notes regarding
PyOpenGL binary builds being tied to a particular Numpy
version apply equally well to having/not-having Numpy at
all. I'd actually be surprised if a non-Numpy build would
even work these days (it's never tested), so the solution is
going to have to be "install Numpy" I'm afraid.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
Oh.. Without Numeric.
With Numeric, it appears to not crash.
Uninstalling Numeric, and then running results in a crash.
Crash is possibly a bit more visible when running in IDLE.
Logged In: YES
user_id=34901
You're almost certainly using the pre-built PyOpenGL 2.0.1,
which is built with Numpy 23 present. The notes regarding
PyOpenGL binary builds being tied to a particular Numpy
version apply equally well to having/not-having Numpy at
all. I'd actually be surprised if a non-Numpy build would
even work these days (it's never tested), so the solution is
going to have to be "install Numpy" I'm afraid.
Logged In: YES
user_id=34901
Attaching modified version of test file that lets you
actually trigger the debugger to see what's going on.
Non-pygame version of file to avoid pygame parachute blocking debugger