Ask Your Question

Revision history [back]

Most likely Wing is using a different Python version than the one where you installed PyOpenGL.  To fix this, go into that Python version or add the following to your code to see its output when you run it from the command line: import sys print(sys.executable())​   Then take the full path this prints (without any quotes) and put it into the Python Executable in the Configure Python dialog (from the Source menu). (In Wing Personal and Wing Pro this is instead in the Project Properties dialog, from the Project menu)

click to hide/show revision 2
No.2 Revision

Most likely Wing is using a different Python version than the one where you installed PyOpenGL.  To fix this, go into that Python version or add the following to your code to see its output when you run it from the command line: line:

import sys
print(sys.executable())​

  Then take the full path this prints (without any quotes) and put it into the Python Executable in the Configure Python dialog (from the Source menu). menu).

(In Wing Personal and Wing Pro this is instead in the Project Properties dialog, from the Project menu)