ImportError: No module named PyQt4.QtCore

前端 未结 7 1147
感情败类
感情败类 2021-02-01 18:02

I\'ve reïnstalled my ssh server, so I also need to reïnstall my Python packages.

I did that, but I still get the error:

ImportError: No module named PyQt         


        
7条回答
  •  萌比男神i
    2021-02-01 18:48

    As mentioned in the comments, you need to install the python-qt4 package - no need to recompile it yourself.

    sudo apt-get install python-qt4

提交回复
热议问题