pyqt5报错:qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This ap

环境:

win10

Python 3.7.5

vs code

 

 

解决方法:

新建环境变量,然后重启  vs code 就可以了

QT_QPA_PLATFORM_PLUGIN_PATH

C:\Users\Administrator\Desktop\新建文件夹 (2)\venv\Lib\site-packages\PyQt5\Qt\plugins

pyqt5报错:qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This ap

 

pyqt5报错:qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "" This ap

上一篇:QT入门-在窗体中添加按钮


下一篇:解决win10 保存文件到C盘没有权限问题