Pages: [1]   Go Down
Author Topic: macOSX and python + QtOpenGL  (Read 610 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 11
Posts: 1489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi
i need to realize a pyQt application (App.py) that means using python as programming language and QtOpenGL as framework.
My problem is to put all this software on macOSX 10.7, i got a lot of issues about running QtOpenGL.

i am using mac-ports, i have installed a lot of things, OpenGL should be installed by default in MacOSX-10.7.5, but running my App.py i got this

Quote
Traceback (most recent call last):
  File "cal_gui.py", line 3, in <module>
    from ui_cal import Ui_Cal
  File "ui_cal.py", line 483, in <module>
    from pyqtgraph.opengl import GLViewWidget
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyqtgraph/opengl/__init__.py", line 1, in <module>
    from .GLViewWidget import GLViewWidget
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyqtgraph/opengl/GLViewWidget.py", line 1, in <module>
    from pyqtgraph.Qt import QtCore, QtGui, QtOpenGL
ImportError: cannot import name QtOpenGL

pyQtOpenGL has been installed as python wrapper to QtOpenGL

Anybody toying with this on mac ? On linux it is pretty working but i need to put it on mac.
« Last Edit: November 16, 2012, 03:18:59 am by lock » Logged

Pages: [1]   Go Up
Jump to: