ImportError: No module named PyQt4

后端 未结 5 587
悲哀的现实
悲哀的现实 2020-12-15 17:09

I installed pyqt4 by using Homebrew. But when I import PyQt4 in python interpreter, It said that \"No module named PyQt4\". Can somebody help me with that?

5条回答
  •  无人及你
    2020-12-15 17:33

    I solved the same problem for my own program by installing python3-pyqt4.

    I'm not using Python 3 but it still helped.

提交回复
热议问题