ImportError: No module named PyQt4.QtCore

前端 未结 7 1025
感情败类
感情败类 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:28

    Try this command to solve your problem.

    sudo apt install build-essential python3-dev libqt4-dev
    

    This works for me in python3.

提交回复
热议问题