Cannot import PyQt4.QtGui

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

    If this does not works, try search for QtCore4.dll, QtGui4.dll, etc. in your paths set in PATH environment variable. In my case I found some qt dll in c:\windows\system32, caused the same error message. I've deleted the dll files, and problem solved. 'C:\Python26\Lib\site-packages\PyQt4\bin' was in my path, but that was not enough.

提交回复
热议问题