Re: [PyOpenGL-Users] PyOpenGl2 can't find ___init__
Brought to you by:
mcfletch
|
From: <il...@ya...> - 2003-02-12 01:33:03
|
Seems like you aren't using swig 1.3.13 What version do you have? Cause I added a check into the setup.py to exit if it didn't find 1.3.13. Could you send me the output of swig -version Also read README.cvs, there might be some other notes in there of help. --- Dan Christian <Dan...@NA...> wrote: > 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. > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = > Something 2 See! > http://www.vasoftware.com > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |