Cannot import PyQt4.QtGui

后端 未结 10 2032
情话喂你
情话喂你 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:39

    I found a solution on another forum that worked for me. I needed to copy QtGui4.dll and QtCore4.dll into the ...\Python2.7.1\Lib\site-packages\PyQt4 directory. Note, I left the original in the bin directory.

提交回复
热议问题