Thread: [PyOpenGL-Users] Error importing testingcontext from OpenGLContext
Brought to you by:
mcfletch
From: Abhijeet R. <abh...@gm...> - 2011-04-15 14:12:19
|
Hi, I am new to opengl and I am using python to learn the library. As a start, I started following the tutorial http://pyopengl.sourceforge.net/context/tutorials/shader_1.xhtml I opened up python interpreter & I got this error. Googling didnt help much. There is no sure shot answer as to why is this error coming. >>> from OpenGLContext import testingcontext INFO:OpenGL.acceleratesupport:No OpenGL_accelerate module loaded: No module named OpenGL_accelerate PREFERENCELIST ('pygame', 'wx', 'glut', 'tk') >>> And I want to make a point that simply importing OpenGLContext doesnt cause any errors. >>> import OpenGLContext >>> Please help me and guide as to what is the issue? -- Regards, Abhijeet Rastogi (shadyabhi) http://www.google.com/profiles/abhijeet.1989 |
From: Derakon <de...@gm...> - 2011-04-15 15:04:09
|
On Fri, Apr 15, 2011 at 7:11 AM, Abhijeet Rastogi <abh...@gm...> wrote: > >>>> from OpenGLContext import testingcontext > INFO:OpenGL.acceleratesupport:No OpenGL_accelerate module loaded: No module > named OpenGL_accelerate You're missing the OpenGL-accelerate package, which you can grab from here: http://pypi.python.org/pypi/PyOpenGL-accelerate It may have other dependencies as well. This isn't necessary for normal OpenGL use, but apparently the testing context requires it. -Chris |
From: Abhijeet R. <abh...@gm...> - 2011-04-15 15:28:50
|
I installed the package, now I see this in interpreter. >>> from OpenGLContext import testingcontext INFO:OpenGL.acceleratesupport:OpenGL_accelerate module loaded PREFERENCELIST ('pygame', 'wx', 'glut', 'tk') >>> What does that mean? On Fri, Apr 15, 2011 at 8:34 PM, Derakon <de...@gm...> wrote: > On Fri, Apr 15, 2011 at 7:11 AM, Abhijeet Rastogi > <abh...@gm...> wrote: > > > >>>> from OpenGLContext import testingcontext > > INFO:OpenGL.acceleratesupport:No OpenGL_accelerate module loaded: No > module > > named OpenGL_accelerate > > You're missing the OpenGL-accelerate package, which you can grab from here: > http://pypi.python.org/pypi/PyOpenGL-accelerate > It may have other dependencies as well. This isn't necessary for > normal OpenGL use, but apparently the testing context requires it. > > -Chris > > -- Regards, Abhijeet Rastogi (shadyabhi) http://www.google.com/profiles/abhijeet.1989 |
From: Mike C. F. <mcf...@vr...> - 2011-04-17 21:15:15
|
On 11-04-15 11:28 AM, Abhijeet Rastogi wrote: > I installed the package, now I see this in interpreter. > > >>> from OpenGLContext import testingcontext > INFO:OpenGL.acceleratesupport:OpenGL_accelerate module loaded > PREFERENCELIST ('pygame', 'wx', 'glut', 'tk') > >>> > > What does that mean? It means that OpenGLContext will use, in order of preference, pygame, wxPython, GLUT and Tk on your machine. There's a mechanism to allow you to override that for your machine, but it's probably the correct order for most users who are just planning to test the code. Pygame is the most-tested and well supported context, wx is very close, but has a few long-standing bugs with multiple contexts. GLUT works fine, and is a good fallback, while Tk is pretty much not ready for prime-time due to my not really caring all that much about it. The log message really is just an "info" level thing, just telling you what the context preference order is. HTH, Mike > > On Fri, Apr 15, 2011 at 8:34 PM, Derakon <de...@gm... > <mailto:de...@gm...>> wrote: > > On Fri, Apr 15, 2011 at 7:11 AM, Abhijeet Rastogi > <abh...@gm... <mailto:abh...@gm...>> wrote: > > > >>>> from OpenGLContext import testingcontext > > INFO:OpenGL.acceleratesupport:No OpenGL_accelerate module > loaded: No module > > named OpenGL_accelerate > > You're missing the OpenGL-accelerate package, which you can grab > from here: > http://pypi.python.org/pypi/PyOpenGL-accelerate > It may have other dependencies as well. This isn't necessary for > normal OpenGL use, but apparently the testing context requires it. > > -Chris > > > > -- > Regards, > Abhijeet Rastogi (shadyabhi) > http://www.google.com/profiles/abhijeet.1989 > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > > > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |