我刚刚在debian linux上用apt-get安装了它。
apt-get install libqt4-openglPyQt4的其余部分是可用的,但我不能访问这个新模块。
from PyQt4 import QtOpenGL引发ImportError。你知道该怎么做吗?
发布于 2009-09-14 04:25:35
你忘了安装Python绑定了吗?
apt-get install python-qt4-gl发布于 2017-01-24 06:17:32
对于Python3,我必须使用sudo apt-get install python3-pyqt4.qtopengl
https://stackoverflow.com/questions/1419650
复制相似问题