Mike C. Fletcher wrote: > [EMAIL PROTECTED] wrote: > > I'm beginning learning Python and OpenGL in Python. > > [...] > > ImportError: No module named OpenGL.GLUT > > > > [EMAIL PROTECTED]/etc/python>$ echo $PYTHONPATH > > /usr/lib/python2.2/site-packages/OpenGL > > > You should already have site-packages in your PythonPath. You want the > directory *above* OpenGL in the path, not OpenGL itself.
Yes, tried that: $ echo $PYTHONPATH /usr/lib/python2.2/site-packages/ and no improvement. Should there be a file or directory named GLUT* in /usr/lib/python2.2/site-packages/OpenGL/ ? All I can see are GL, GLU and GLX directories. I'm unsure why > you're running a Python 2.2 instance on a modern Linux. [EMAIL PROTECTED]/etc/python>$ python2 Python 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2 The OpenGL stuff was from an RPM that I sound on the web. Many thanks, Jon C. -- http://mail.python.org/mailman/listinfo/python-list