No acceleration for OpenGL and ImportError for modules that exist
I'm writing a program using wxPytho开发者_如何转开发n and OpenGL. The program works, but without any antialiasing, and I get these error messages: (I'm using ArchLinux)
INFO:OpenGL.acceleratesupport:No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
However, when I look into my site-packages folder, I see the module present there. I have a wxPython demo program that uses GLCanvas, and it works fine, without any errors.
My program is quite similar to the GLCanvas demo, involving just translations, rotations, drawing quads and some basic lighting.
What am I doing wrong here? (The code is over 200 lines, if necessary I'll edit this and put it here)
精彩评论