Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > [pyOpenGL]Demo cannot run on Python2.5

Thread Tools

[pyOpenGL]Demo cannot run on Python2.5
Posts: n/a
(I'm a newbie in Python and pyOpenGL.)
Python ver. 2.5
easy_install is installed
PIL, pyNum is installed
Download PyOpenGL-3.0.0a5-py2.5.egg
run: easy_install PyOpenGL-3.0.0a5-py2.5.egg
pyOpenGL is installed in

I tried to run a example ".\OpenGL\Demo\da\", but it fails in
the line:
from OpenGL.GL import *
with errors:
AttributeError: 'WinFunctionType' object has no attribute

Traceback (innermost last):

File "OpenGL\Demo\da\", line 1, in <module>
File "OpenGL\Demo\da\", line 24, in <module>
from OpenGL.GL import *
File "OpenGL\GL\", line 3, in <module>
from OpenGL.raw.GL.annotations import *
File "OpenGL\raw\GL\", line 19, in <module>
File "OpenGL\arrays\", line 68, in setInputArraySizeType
if not hasattr( function, 'returnValues' ):
File "OpenGL\", line 64, in __getattr__
return getattr( self.wrappedOperation, key )

It seems that pyOpenGL reimplements the module "ctypes" internally, but
not finished.... I cannot find "self.wrappedOperation" with any
attribute with the name of 'returnValues'. How to go through this
problem? Did I make some simple mistakes at the beginning of the
installation of pyOpenGL?

Thank you!


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference of modelsim command run -continue and run -all VHDL 2 09-05-2006 02:14 PM
Can't Run 'RUN' Windows XP Home Luke O'Malley Computer Support 2 09-01-2005 11:38 PM
can run javascript can't run vbscript - WHY duncan ASP .Net 2 10-27-2004 09:31 AM
Anybody remember, Run Buddy Run and Second Hundred Years? Tom McCafferty DVD Video 5 10-02-2004 09:15 PM
The file 'bin\WebProj.dll' cannot be copied to the run directory. The requested operation cannot be performed on a file with a user-mapped section open. J Gao ASP .Net 0 07-28-2003 04:18 PM