解决This application failed to start because no Qt platform plugin could be initialized问题
生活随笔
收集整理的這篇文章主要介紹了
解决This application failed to start because no Qt platform plugin could be initialized问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題描述: 在pycharm中安裝pyqt5-tools后,嘗試著打開該路徑下的designer.exe C:\Users\PC\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\bin
報出如下提示:This application failed to start because no Qt platform plugin could be initialized
解決方法: 將路徑C:\Users\PC\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms下的兩個文件拷貝到路徑C:\Users\PC\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyqt5_tools\Qt\bin\platforms
總結
以上是生活随笔為你收集整理的解决This application failed to start because no Qt platform plugin could be initialized问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python的主要8大应用领域,你还不会
- 下一篇: 最近几年的编程感悟