Menu

Welcome, Guest. Please login or register.
April 04, 2020, 01:50:57 pm

Login with username, password and session length

Author Topic: [SOLVED] OpenGL error  (Read 5030 times)

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
[SOLVED] OpenGL error
« on: December 23, 2011, 12:21:10 am »
Hello,

When i am trying to open pymodelerror, i got the following error:

from glView import *
glView.py", line 3, in <module>
from OpenGL.GL import *
ImportError: No module named OpenGL.GL

Wich is strange since i installed PyOpenGL 3.X for python 2.6

Anyone knows how to solve this?

Regards

EDIT: I downloaded a new version of both pyqtr and pyopenGL, and with those i managed to run pymodeleditor.
« Last Edit: February 15, 2012, 12:41:17 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: OpenGL error
« Reply #1 on: January 15, 2012, 02:51:21 am »
or you install components in the wrong order, or the wrong version, you need:

1. Python 2.6
2. openGL for 2.6
3 pyQT for 2.6


for win32:
python 2.6 | 32: http://www.python.org/ftp/python/2.6/python-2.6.msi

openGL for py2.6 | 32 : http://pypi.python.org/packages/any/P/P ... f9a1bd8462

pyQT for py2.6 | 32 : http://www.riverbankcomputing.co.uk/sta ... -4.9-1.exe



for win64:
python 2.6 | 64: http://www.python.org/ftp/python/2.6/py ... .amd64.msi

openGL for py2.6 | 64 : http://www.lfd.uci.edu/~gohlke/pythonli ... -py2.6.exe

pyQT for py2.6 | 64 : http://www.riverbankcomputing.co.uk/sta ... -4.9-1.exe


Normal work on windows 7 can not be guaranteed
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: OpenGL error
« Reply #2 on: February 10, 2012, 04:04:24 am »
Thanks Vel! i will give them a try
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

larrylaffer

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 145
    • View Profile
Re: OpenGL error
« Reply #3 on: February 10, 2012, 09:53:10 pm »
K i installed the trhee things in that order.. and i am still getting

ImportError: No module named OpenGL.GL


The links you provided are broken, so i googled for PyOpenGL and i found and installed "PyOpenGL-accelerate-3.0.1.win32-py2.6"

Is that version ok?

Regards
« Last Edit: January 01, 1970, 01:00:00 am by Admin »