Pregunta

Lo acabo de instalar con apt-get en Debian Linux con

apt-get install libqt4-opengl

el resto de PyQt4 está disponible, pero no puedo acceder a este nuevo módulo.

from PyQt4 import QtOpenGL

plantea ImportError. alguna idea de que hacer?

¿Fue útil?

Solución

¿Olvidó instalar los enlaces de Python?

apt-get install python-qt4-gl

Otros consejos

Para Python3, tuve que hacer sudo apt-get install python3-pyqt4.qtopengl

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top