下载 python3
添加环境变量
C:\Users\admin\AppData\Local\Programs\Python\Python38-32
C:\Users\admin\AppData\Local\Programs\Python\Python38-32\Scripts
安装:
pip3 install -i https://mirrors.aliyun.com/pypi/simple/ PyQt5
pip3 install -i https://mirrors.aliyun.com/pypi/simple/ PyQt5-tools
PYQT Integration
配置 PYQT Integration
{
"pyqt-integration.pyuic.compile.filepath": "${ui_name}.py",
"pyqt-integration.qtdesigner.path": "C:\\Users\\admin\\AppData\\Local\\Programs\\Python\\Python37\\Lib\\site-packages\\pyqt5_tools\\Qt\\bin\\designer",
"python.pythonPath": "C:\\Users\\admin\\AppData\\Local\\Programs\\Python\\Python37",
"python.autoComplete.extraPaths": [
],
"editor.semanticTokenColorCustomizations": null,
"pyqt-integration.pyuic.cmd": "C:\\Users\\admin\\AppData\\Local\\Programs\\Python\\Python37\\Scripts\\pyuic5"
}