Modcraft - The community dedicated to quality WoW modding!

Projects => Software Development => PyModelEditor => Topic started by: larrylaffer on December 23, 2011, 12:21:10 am

Title: [SOLVED] OpenGL error
Post by: larrylaffer 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.
Title: Re: OpenGL error
Post by: Vel 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 (http://www.python.org/ftp/python/2.6/python-2.6.msi" onclick="window.open(this.href);return false;)

openGL for py2.6 | 32 : http://pypi.python.org/packages/any/P/P (http://pypi.python.org/packages/any/P/P" onclick="window.open(this.href);return false;) ... f9a1bd8462

pyQT for py2.6 | 32 : http://www.riverbankcomputing.co.uk/sta (http://www.riverbankcomputing.co.uk/sta" onclick="window.open(this.href);return false;) ... -4.9-1.exe



for win64:
python 2.6 | 64: http://www.python.org/ftp/python/2.6/py (http://www.python.org/ftp/python/2.6/py" onclick="window.open(this.href);return false;) ... .amd64.msi

openGL for py2.6 | 64 : http://www.lfd.uci.edu/~gohlke/pythonli (http://www.lfd.uci.edu/~gohlke/pythonli" onclick="window.open(this.href);return false;) ... -py2.6.exe

pyQT for py2.6 | 64 : http://www.riverbankcomputing.co.uk/sta (http://www.riverbankcomputing.co.uk/sta" onclick="window.open(this.href);return false;) ... -4.9-1.exe


Normal work on windows 7 can not be guaranteed
Title: Re: OpenGL error
Post by: larrylaffer on February 10, 2012, 04:04:24 am
Thanks Vel! i will give them a try
Title: Re: OpenGL error
Post by: larrylaffer 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