文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-516214.html
錯(cuò)誤提示:This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
翻譯:此應(yīng)用程序無(wú)法啟動(dòng),因?yàn)闊o(wú)法初始化任何Qt平臺(tái)插件。重新安裝應(yīng)用程序可以解決此問(wèn)題。
解決辦法:從"Python\Python311\Lib\site-packages"中,把"PyQt5"和"pyqt5_plugins"兩個(gè)文件夾復(fù)制到Python\Python311\Lib安裝目錄下。?
例如:
從"C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages"把“PyQt5”文件夾、“pyqt5_plugins”文件夾復(fù)制到"C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib"下。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-516214.html
到了這里,關(guān)于問(wèn)題:This application failed to start because no Qt platform plugin could be initialized. Reinstalling的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!