聚热网 百科 plugin.window.find

plugin.window.find

plugin.window.find

当利用PYTHON打包PYQT时出现

错误代码:

plugin.window.find

"

ThisapplicationfailedtostartbecauseitcouldnotfindorloadtheQtplatformplugin“windows”

in“”.

Reinstallingtheapplicationmayfixthisproblem."时,网上很提供了很多办法,就是将plugins\\platforms文件夹放在XX.exe文件即可解决,下面介绍如何查找在自己电脑上这个正常文件夹在哪?

fromPyQt5.QtCoreimportQCoreApplication

qtpath=QCoreApplication([])

#print(qtpath.applicationDirPath())

print(qtpath.libraryPaths())

明显

plugin.window.find

版权声明:本网站为非赢利网站,作品与素材版权均归作者所有,如内容侵权与违规请发邮件联系,我们将在三个工作日内予以改正,请发送到chengfengseo#gmail.com(#换成@)。

本文链接:https://www.jr-cnc.cn/post/ff359f30b2ba303264df01f2.html

TAG:

相关推荐