PyOpenGL on 64bit Windows

"Jens Nellesen" <[email protected]>
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Hi all,

I cannot get PyOpenGL working on 64 bit Windows (Win XP and 7).

In both cases I get the following import error:

Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from OpenGL.GL import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\python27\lib\site-packages\OpenGL\GL\__init__.py", line 3, in
<module>
    from OpenGL.GL.VERSION.GL_1_1 import *
  File "c:\python27\lib\site-packages\OpenGL\GL\VERSION\GL_1_1.py", line
10, in <module>
    from OpenGL import platform, constants, constant, arrays
  File "c:\python27\lib\site-packages\OpenGL\platform\__init__.py", line
35, in <module>
    _load()
  File "c:\python27\lib\site-packages\OpenGL\platform\__init__.py", line
26, in _load
    plugin_class = plugin.load()
  File "c:\python27\lib\site-packages\OpenGL\plugins.py", line 14, in load
    return importByName( self.import_path )
  File "c:\python27\lib\site-packages\OpenGL\plugins.py", line 28, in
importByName
    module = __import__( ".".join(moduleName), {}, {}, moduleName)
  File "c:\python27\lib\site-packages\OpenGL\platform\win32.py", line 13,
in <module>
    class Win32Platform( baseplatform.BasePlatform ):
  File "c:\python27\lib\site-packages\OpenGL\platform\win32.py", line 22,
in Win32Platform
    raise ImportError("Unable to load OpenGL library", *err.args)
ImportError: ('Unable to load OpenGL library', 193, '%1 is not a valid
Win32 application', 'C:\\WIND
OWS\\SysWOW64\\opengl32.dll', 'C:\\WINDOWS\\SysWOW64\\opengl32.dll')

Can anyone tell me what's wrong with my installation?

Kind regards,
Jens
PS: I tried PyPI, easy_install and the PyOpenGL-package bundled on
http://www.lfd.uci.edu/~gohlke/pythonlibs/
but without success.



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.