Re: [PyOpenGL-Users] [fix] ImportError: No module named _GL__init__
Brought to you by:
mcfletch
From: Dan C. <dc...@co...> - 2004-06-21 02:59:26
|
Mike, Tried the one-line change. Now I get: ImportError: No module named WGL__init__ The full traceback is below. Am I missing something else? Thanks for the help. Dan ------ 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 49, in ? from OpenGL.WGL import wglUseFontBitmaps, wglGetCurrentDC File "/usr/local/lib/python2.3/site-packages/OpenGL/WGL/__init__.py", line 2, in ? from WGL__init__ import * ImportError: No module named WGL__init__ > Okay, I just got finished building PyOpenGL 2.0.1.07 on Gentoo linux. I > had to make a one-line change to setup/build_w.py, in the method "run": > > if not check_swig_version(swig_name): > handle_wrong_swig_version() > + self.swig_name = None > |