ImportError: No module named PyQt4

后端 未结 5 582
悲哀的现实
悲哀的现实 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:48

    If you're using Anaconda to manage Python on your system, you can install it with:

    $ conda install pyqt=4

    Omit the =4 to install the most current version.

    Answer from How to install PyQt4 in anaconda?

提交回复
热议问题