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

技术分享图片

 

文章来自:https://www.cnblogs.com/shiyixirui/p/13236150.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3