Pyinstaller 打包Pyside2 报错qt.qpa.plugin

qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "C:\Users\daws
on\Desktop\dist\KxImage\PySide2\plugins\platforms" even though it was found.
This application failed to start because no Qt platform plugin could be initiali
zed. Reinstalling the application may fix this problem.Available platform plugins are: direct2d, minimal, offscreen, webgl, windows.

python版本

>python --version
Python 3.7.0

pyside版本

>pip list | findstr "PySide"
PySide2                            5.15.2

通过搜索找到qwindows.dll在两个地方存在,一个是1.2M一个1.4M

D:\ProgramData\Anaconda3\envs\ryven\Library\plugins\platforms
D:\ProgramData\Anaconda3\envs\ryven\Lib\site-packages\PySide2\plugins\platforms

查看打包后的存在于打包目录下面的qt5_plugins\platforms中是1.2M,用1.4M的替换后可以正常运行

Pyinstaller 打包Pyside2 报错qt.qpa.plugin相关推荐

  1. 【已解决】报错qt.qpa.plugin: Could not load the Qt platform plugin “windows“ in “...“ even though it was

    问题描述: 在Python程序中使用到Pyside2进行图形界面搭建,并使用Pyinstaller将程序打包为独立可执行文件后,双击.exe文件,出现报错: "qt.qpa.plugin: ...

  2. Pyinstaller 打包exe 报错 “failed to execute script XXX“的一种解决方案

    Pyinstaller 打包exe 报错 "failed to execute script XXX"的一种解决方案 参考文章: (1)Pyinstaller 打包exe 报错 & ...

  3. pyinstaller打包icon报错

    pyinstaller打包icon报错 用pyinstaller打包exe文件时,是可以设置图标的,但如果没有设置好,就会报错. 我在打包的时候报了一个错 except win32api.error ...

  4. ubuntu安装 pyqt5 报错 xcb找不到 pyinstaller打包open3d报错

    2个错误 QObject::moveToThread: Current thread (0x25b5c20) is not the object's thread (0x5ce7ee0). Canno ...

  5. electron-builder 打包 exe 报错 Error output: Plugin not found, cannot call UAC::_

    报错信息: Error: C:\Users\***\AppData\Local\electron-builder\cache\nsis\nsis-3.0.1.13\Bin\makensis.exe e ...

  6. Pyinstaller 打包exe 报错 failed to execute script XXX的一种解决方案

    最近用PyQt5写了一个界面小程序,需要打包成exe给到其他windows上使用,一开始使用python 3.7 64位,用pyinstaller打包exe,在64位机上运行正常. 但是目标电脑是32 ...

  7. python 打包exe_python pyinstaller打包exe报错的解决方法

    今天用python 使用pyinstaller打包exe出现错误 环境pyqt5 + python3.6 32位 在导入pyqt5包之前加上如下代码 import sys import os if h ...

  8. 安装免费视频剪辑软件运行时程序报错 Qt platform plugin could be initialized

    网上找的开源免费视频剪辑软件 安装成功了 但是运行的时候报错 好在,我前面安装Python开发桌面应用的时候碰到过类似的报错. 我立马就反应过来是环境变量没有指向的问题. 然后我就添加了系统环境变量 ...

  9. python 打包 exe_python pyinstaller打包exe报错的解决方法

    今天用python 使用pyinstaller打包exe出现错误 环境pyqt5 + python3.6 32位 在导入pyqt5包之前加上如下代码 import sys import os if h ...

  10. Ubuntu pyinstaller 打包可执行文件时报错:... qt.qpa.plugin: Could not find the Qt platform plugin “xcb“ in “...

    Ubuntu pyinstaller 打包可执行文件时报错:qt.qpa.plugin: Could not find the Qt platform plugin "xcb" i ...

最新文章

  1. *用C#创建Windows服务(Windows Services)
  2. 字符文本中的字符太多_文本对抗---字符级别的攻击
  3. Ubuntu桌面培训(Ubuntu Desktop Course)中文译本发布
  4. 阿里云峰会|阿里云数据中台重磅升级后拟扶持100万家企业数智化
  5. Ajax--serialize应用表单数据序列化
  6. opensource项目_Opensource.com 2015社区奖的获奖者
  7. StringBuffer和String,StringBuilder的区别?
  8. But Wang Xing, who is concerned about long-term
  9. 如何将一个完整项目推到码云_怎么将本地项目放到码云(gitee)上面?图文详解
  10. 【java】修改包访问的数据
  11. c语言程序功能实现不了,请高手帮忙看看我的程序,编译不报错,但是实现不了功能...
  12. 电子证书 DER PEM CRT CER
  13. ZED2 ROS下bag包的录制与回放数据
  14. mysql基础之查询缓存、存储引擎
  15. win7旗舰版显示不了文件扩展名提示需要administrators提供权限才能对此文件进行更改
  16. 电磁仿真CST软件学习笔记:模型创建篇(更新中)
  17. 程序员如何摆脱天天CRUD这种打杂状态?
  18. Rescue-Prime hash STARK
  19. 迪文T5-T5L使用测试笔记1
  20. android360浏览器卸载,三款主流安卓浏览器横评!删掉APP全靠它?

热门文章

  1. raw数据恢复之raw格式硬盘如何恢复数据?
  2. linux 查看 文件夹代销,速达常见问题集
  3. 速达服务器应用程序错误,速达软件错误集锦及解决方法
  4. cl.nd77.pw index.php,Loop in template
  5. 如何在高通平台新建项目
  6. Linux 安装搭建 tftpd 服务器
  7. 城通网盘仿蓝奏网盘源码 附带视频教程
  8. 如何设计网页模板才简洁美观?
  9. adb shell 操作
  10. 基于ssm汽车租赁管理系统的设计与实现