使用pycharm debug的时候出现
This application failed to start because it could not find or load the Qt platform plugin "windows"
错误代码
Process finished with exit code -1073741819 (0xC0000005)
解决:以下为原blog内容
转自:/wangguan9527/article/details/82845409
这个错误困扰了我一天,网上找的答案也是千奇百怪,部分可以参考该篇博客
博客地址:/qiao1025566574/article/details/81037908
以上尝试未果,最后在外网找到了解答,具体有三种,每个都试一次或许就能解决(最有可能是第三种方法)
一、更新pyqt,更新numpy
二、打开pycharm的菜单中的Run – Edit Configurations – Defaults,按下图操作,添加environment variables ,Name为 =C:Value 为 c:\'' 保存
三、取消PyQt的兼容,打开pycharm的菜单中的File – Settings – Build, Execution, Deployment – Python Debugger,按下图操作,保存
我是执行到了第三步才解决这个问题的
亲测有效