vscode配置pyqt5

vscode配置pyqt5

下载PyQt5

pip install PyQt5 -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install PyQt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple


如果PY版本高于3.9以上,PYQt5-tools安装不了,可以安装PyQt5Designer。

pip install PyQt5Designer -i https://pypi.tuna.tsinghua.edu.cn/simple

 

安装成功,Designer.exe的路径是:
“python安装目录Libsite-packagesQtDesigner”下。