Just installed QtOpenGL but cannot import it (from Python)

前端 未结 2 1406
北恋
北恋 2020-12-18 21:26

I just installed it with apt-get on debian linux with

apt-get install libqt4-opengl

the rest of PyQt4 is available, but I cant get to this

相关标签:
2条回答
  • 2020-12-18 22:19

    For Python3, I had to do sudo apt-get install python3-pyqt4.qtopengl

    0 讨论(0)
  • 2020-12-18 22:24

    Did you forget to install the Python bindings?

    apt-get install python-qt4-gl
    
    0 讨论(0)
提交回复
热议问题