Re: [PyOpenGL-Users] "No module named _GL__init__"
Brought to you by:
mcfletch
From: Rick M. <rm...@sa...> - 2004-06-15 15:30:17
|
I have always had just this problem on redhat, but I had always thought it was due to Python version 2.2. Since it looks like you're running v2.3, I don't really know what's up. You might want to make sure that the permissions are correct for /usr/local/lib/python2.3/site-packages/OpenGL/GL/ files GL__init__.py GL_init__.pyc GL__init__.so. <rant> What the hell is wrong with Python on Redhat/Fedora? I am trying to support a cross-platform GUI based on python, wx, and OpenGL, and no platform, not even windows, is as much of a pain in the butt than Redhat. First, by default they distribute v2.2. Plus, they don't distribute binaries for wxpython or pyogl, unlike Debian or Suse. I feel much better now. </rant> On Monday, June 14, 2004, at 08:07 PM, Dan Charno wrote: > I am trying to install PyOpenGL on Fedora Core 2. After several > iterations to meet dependencies, I was finally able to build. > However, when I run, I get an error "No module named _GL__init__". > The full traceback is shown below. > > Any suggestions would be greatly appreciated. > > ----- > $python main.py Traceback (most recent call last): > File "main.py", line 48, in ? > run() > File "main.py", line 42, in run > core.init(width, height) > File "/usr/local/lib/python2.3/site-packages/pyui/core.py", line 65, > in init > from renderers.openglPygame import OpenGLPygame > File > "/usr/local/lib/python2.3/site-packages/pyui/renderers/ > openglPygame.py", line 25, in ? > from pyui.renderers import openglBase > File > "/usr/local/lib/python2.3/site-packages/pyui/renderers/openglBase.py", > line 45, in ? > from OpenGL.GL import * > File "/usr/local/lib/python2.3/site-packages/OpenGL/__init__.py", > line 26, in ? > from GL.GL__init___ import __numeric_present__, __numeric_support__ > File "/usr/local/lib/python2.3/site-packages/OpenGL/GL/__init__.py", > line 2, in ? > from GL__init__ import * > File > "/usr/local/lib/python2.3/site-packages/OpenGL/GL/GL__init__.py", line > 4, in ? > import _GL__init__ > ImportError: No module named _GL__init__ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > NWMGYKND > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > > Rick Muller rm...@sa... |