4、PyQt5的安装 第一步:将下载的PyQt挪到Python的安装文件夹中,为了方便,我把它放在了python的主目录下,即:D:\work\AZWJ\python3.6。 第二步:cmd进入命令行界面,使用CD进入上面PyQt的存放目录,执行pip install PyQt5-5.9.2-5.9.3-cp35.cp36.cp37-none-win_amd64.whl。安装成功界面如下: 注意:如果提示Could not find a version that satisfies the requirement sip>=4.19 (from pyqt5) (from versions: ) No matching distribution found for sip>=4.19 (from pyqt5),建议卸载python3.7,安装3.6