Cannot import PyQt4.QtGui

后端 未结 10 2027
情话喂你
情话喂你 2020-11-30 08:52

I have a working Python 2.6 install and just installed the PyQt4 built for Python 2.6 (available at http://www.riverbankcomputing.co.uk/software/pyqt/download). When I try t

10条回答
  •  孤独总比滥情好
    2020-11-30 09:58

    I usage Linux ubuntu 14.04,firstly, Cannot import PyQt4.QtGui because access module PyQt4 not Available in group permission.. if call interpreter:shell>> python not available module QtGui, but if i call interpreter sudo python available QtGui.So, I solved this error , Change permisions folder package PyQt4 in my virtualenv,from property folder,change Owner and Group.

    Its works for me :)

提交回复
热议问题