pyOpenGL Error unable to detect undefined names

Discussion in 'Python' started by Ron, Dec 2, 2010.

  1. Ron

    Ron Guest

    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
     
    Ron, Dec 2, 2010
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sikkavarun
    Replies:
    2
    Views:
    359
    sikkavarun
    Mar 1, 2005
  2. joroy
    Replies:
    1
    Views:
    405
    Mike C. Fletcher
    Dec 10, 2006
  3. ++imanshu
    Replies:
    3
    Views:
    431
    ++imanshu
    Nov 28, 2009
  4. J. Romano
    Replies:
    21
    Views:
    309
    Sisyphus
    Dec 14, 2004
  5. Alexander Frink

    B::Lint does not detect undefined subs

    Alexander Frink, Aug 7, 2006, in forum: Perl Misc
    Replies:
    5
    Views:
    161
Loading...

Share This Page