[PyOpenGL-Users] PyOpenGl2 can't find ___init__
Brought to you by:
mcfletch
From: Dan C. <Dan...@NA...> - 2003-02-12 01:09:24
|
I've been trying for several hours to get a working OpenGl with Python 2.2 under RedHat 7.3. I downloaded PyOpenGl2 from CVS and hit the compile problem. So I made the mods that Scott Nichols mentioned. That got it to build and install, but it won't load. cd OpenGL/Demo/da python2 dots.py Traceback (most recent call last): File "dots.py", line 20, in ? from OpenGL.GL import * File "/usr/lib/python2.2/site-packages/OpenGL/__init__.py", line 26, in ? from GL.__init___ import __numeric_present__, __numeric_support__ File "/usr/lib/python2.2/site-packages/OpenGL/GL/__init__.py", line 4, in ? import ___init__ ImportError: No module named ___init__ site-packages/OpenGL/GL has an __init___.so, but not an ___init__.so. I tried making a link, but then it just fails here: Traceback (most recent call last): File "dots.py", line 20, in ? from OpenGL.GL import * File "/usr/lib/python2.2/site-packages/OpenGL/__init__.py", line 26, in ? from GL.__init___ import __numeric_present__, __numeric_support__ File "/usr/lib/python2.2/site-packages/OpenGL/GL/__init__.py", line 35, in ? __numeric_present__ = __init___.__numeric_present__ NameError: name '__init___' is not defined I got the same errors when trying to run the dots or gear demo in pygtk. Help! Is there a way to make this work? -Dan Christian I'm not on the list. Please CC me. |