Re: [PyOpenGL-Users] Strange error on OpenGL
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-12-11 15:43:17
|
Cata wrote: > Hi ! > I have a issue . > I use Fedora 12 > > I try this code : > import OpenGL > OpenGL.FORWARD_COMPATIBLE_ONLY = True > from OpenGL.GL import * > from OpenGL.GLU import * > > But i have this errors : > ... > from OpenGL.platform import entrypoint31 > ImportError: cannot import name entrypoint31 > Hmm, I don't see the same with the current bzr head. entrypoint31 was only used in 3.0.0, between 3.0.0 and 3.0.1 the ARB's extension header started providing the information necessary to automate the tracking of deprecated entry points. entrypoint31 was still part of the distribution in the last 3.0.1 beta release, however (i.e. I hadn't removed the file), so you shouldn't see a crash. Can you tell me the PyOpenGL version (python -c "from OpenGL import __version__; print __version__") where you're seeing this? It's possible some release missed the entrypoints31 file when being packed. I've added a test that imports all of GL, GLU and GLUT with deprecations turned on to the PyOpenGL tests. Good luck, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |