[PyOpenGL-Devel] [ pyopengl-Bugs-2873839 ] importing GL fails in 64bit Windows7
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2009-10-07 02:27:57
|
Bugs item #2873839, was opened at 2009-10-07 02:27 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2873839&group_id=5988 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: GL Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Mike C. Fletcher (mcfletch) Summary: importing GL fails in 64bit Windows7 Initial Comment: On a Windows 7 64 bit machine using: - eclipse - pydev - PyQt4 - Python 3.1 with only(in __init__.py): "from OpenGL import GL" the following error message is displayed on console: " Traceback (most recent call last): File "C:\Users\MyUserName\workspace\MyTest\src\root\__init__.py", line 1, in <module> from OpenGL import GL File "C:\Python31\lib\site-packages\OpenGL\GL\__init__.py", line 2, in <module> from OpenGL.raw.GL import * File "C:\Python31\lib\site-packages\OpenGL\raw\GL\__init__.py", line 6, in <module> from OpenGL.raw.GL.constants import * File "C:\Python31\lib\site-packages\OpenGL\raw\GL\constants.py", line 7, in <module> from OpenGL import platform, arrays File "C:\Python31\lib\site-packages\OpenGL\platform\__init__.py", line 36, in <module> _load() File "C:\Python31\lib\site-packages\OpenGL\platform\__init__.py", line 27, in _load plugin_class = plugin.load() File "C:\Python31\lib\site-packages\OpenGL\plugins.py", line 14, in load return importByName( self.import_path ) File "C:\Python31\lib\site-packages\OpenGL\plugins.py", line 28, in importByName module = __import__( ".".join(moduleName), {}, {}, moduleName) File "C:\Python31\lib\site-packages\OpenGL\platform\win32.py", line 19 except WindowsError, err: ^ SyntaxError: invalid syntax " Running the same code through pydev/eclipse on a windows98 machine with Python 2.5 works fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2873839&group_id=5988 |