pyOpenGL Error unable to detect undefined names

R

Ron

Hello,

I am trying to use pyOpenGL and I keep getting the following errors:

Traceback (most recent call last):
File "C:\Temp\Python\OpenGL_Test.py", line 10, in <module>
from OpenGL.GLU import *
File "C:\Python26\lib\site-packages\OpenGL\GLU\__init__.py", line 4,
in <module>
from OpenGL.raw.GLU import *
File "C:\Python26\lib\site-packages\OpenGL\raw\GLU\__init__.py",
line 6, in <module>
from OpenGL.raw.GLU.constants import *
File "C:\Python26\lib\site-packages\OpenGL\raw\GLU\constants.py",
line 7, in <module>
from OpenGL import platform, arrays
File "C:\Python26\lib\site-packages\OpenGL\arrays\__init__.py", line
22, in <module>
formathandler.FormatHandler.loadAll()
File "C:\Python26\lib\site-packages\OpenGL\arrays\formathandler.py",
line 37, in loadAll
cls.loadPlugin( entrypoint )
File "C:\Python26\lib\site-packages\OpenGL\arrays\formathandler.py",
line 44, in loadPlugin
plugin_class = entrypoint.load()
File "C:\Python26\lib\site-packages\OpenGL\plugins.py", line 14, in
load
return importByName( self.import_path )
File "C:\Python26\lib\site-packages\OpenGL\plugins.py", line 28, in
importByName
module = __import__( ".".join(moduleName), {}, {}, moduleName)
File "C:\Python26\lib\site-packages\OpenGL\arrays\numpymodule.py",
line 25, in <module>
from OpenGL_accelerate.numpy_formathandler import NumpyHandler
File "numpy.pxd", line 30, in OpenGL_accelerate.numpy_formathandler
(src\numpy_formathandler.c:3543)
ValueError: numpy.dtype does not appear to be the correct type object

The code is very simple all I have is two import statements:
from OpenGL.GLU import *
from OpenGL.GL import *

The code analysis says that it is "unable to detect undefined names".
What does that mean and how do I fix it? Is it an installation error?

Thanks for the help,
Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top