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

时间:2024-02-18 12:30:01

环境:

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