开发者

No acceleration for OpenGL and ImportError for modules that exist

开发者 https://www.devze.com 2022-12-25 00:51 出处:网络
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)

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)

0

精彩评论

暂无评论...
验证码 换一张
取 消