pyinstaller 打包报错: Cannot find existing PyQt5 plugin directories.

pyinstaller 打包报错: Cannot find existing PyQt5 plugin directories.,第1张

pyinstaller 打包报错: Cannot find existing PyQt5 plugin directories.

报错提示路径下找不到包 Cannot find existing {0} plugin directories.

“"Cannot find existing {0} plugin directories. Paths checked: {1}".format(namespace, ", ".join(paths))
Exception: Cannot find existing PyQt5 plugin directories. Paths checked: C:/users/ÁÙ´¨/appdata/local/programs/python/python36/lib/site-packages/PyQt5/Qt/plugins”

原因可能是PyQt5路径有中文导致乱码所以找不到路径,将该文件夹单独拿出来放到一个英文目录下,然后再用-p指定下路径。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5595317.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-15
下一篇 2022-12-15

发表评论

登录后才能评论

评论列表(0条)

保存