ImportError: No module named PyQt4.QtCore

前端 未结 7 1192
感情败类
感情败类 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条回答
  •  名媛妹妹
    2021-02-01 18:37

    You don't have g++ installed, simple way to have all the needed build tools is to install the package build-essential:

    sudo apt-get install build-essential
    

    , or just the g++ package:

    sudo apt-get install g++
    

提交回复
热议问题