Re: [PyOpenGL-Users] installing pyopengl is confusing
Brought to you by:
mcfletch
From: Floyd M <gre...@gc...> - 2008-03-31 05:07:42
|
thank you -- a friend helped me figure it out (had to download setuptools.msi). Floyd M wrote: > > i've downloaded and installed pyopengl.exe and openglcontext.exe from > sourceforge and i keep getting the following error: > > Traceback (most recent call last): > File "<pyshell#5>", line 1, in <module> > import OpenGL.GL > File "C:\Python\Python25\lib\site-packages\OpenGL\GL\__init__.py", > line 2, in <module> > from OpenGL.raw.GL import * > File > "C:\Python\Python25\lib\site-packages\OpenGL\raw\GL\__init__.py", line > 6, in <module> > from OpenGL.raw.GL.constants import * > File > "C:\Python\Python25\lib\site-packages\OpenGL\raw\GL\constants.py", > line 7, in <module> > from OpenGL import platform, arrays > File > "C:\Python\Python25\Lib\site-packages\OpenGL\platform\__init__.py", > line 20, in <module> > import os, sys, pkg_resources > ImportError: No module named pkg_resources > > i've checked the site-packages folder and opengl is there along with > the gl and glu directories. > |