Cannot import PyQt4.QtGui

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

    Download the program from http://www.dependencywalker.com to see if there was missing dll.

    You need to point the program to the QtGui.pyd file from PyQt.

    My case was using MSYS2's mingw-w64-x86_64-python3-pyqt4, it needed libpython3.5m.dll while pacman was already at python3.6

提交回复
热议问题