pyinstaller打包报错 Failed to execute script ‘xxx’ due to unhandled exception:input():lost sys.stdin

pyinstaller打包exe文件,打开exe报错 Failed to execute script ‘xxx’ due to unhandled exception:input():lost sys.stdin Failed to obtain/convert traceback!

是因为在打包的时候使用了参数 -w,即无控制台窗口模式,导致需要命令行输入时无法执行并报错。
解决办法,使用打包命令: pyinstaller -F xxx.py,或写成 pyinstaller -F -c xxx.py(-c参数使用控制台子系统执行,默认方式)。

pyinstaller打包报错 Failed to execute script ‘xxx‘ due to unhandled exception:input():lost sys.stdin相关推荐

  1. Failed to execute script ‘xxx‘ due to unhandled exception:No module named ‘ctypes‘

    解决: 添加 --hidden-import 参数 pyinstaller -Fw -i .\pdf.ico --hidden-import=ctypes --hidden-import=psutil ...

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

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

  3. 亲测有效!python:Failed to execute script ‘pyi_rth_win32comgenpy‘ due to unhandled exception!

    问题 使用pyinstaller打包exe程序后,出现如下错误:Failed to execute script 'pyi_rth_win32comgenpy' due to unhandled ex ...

  4. pyinstall Failed to execute script ‘main‘ due to unhandled exception: [WinError 3]系统找不到指定的路径,包含文件夹

    问题 Failed to execute script 'main' due to unhandled exception: [WinError 3]系统找不到指定的路径 打包文件 包含文件夹 YOL ...

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

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

  6. 【Python】Pyinstaller打包路径配置(Failed to execute script ‘app‘ due to unhandled exception已解决)

    一.说明 关于Pyinstaller,可以查看Python打包发布1(基于Pyinstaller打包多目录项目) Pyinstaller可以将资源文件一起打包到exe中,当exe在运行时,会生成一个临 ...

  7. pyinstaller打包py文件生成的exe报错Failed to execute script

    版权声明:转载请注明作者(独孤尚良dugushangliang)出处:https://blog.csdn.net/dugushangliang/article/details/100761976 时常 ...

  8. maven打包报错Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.6.1:cle

    问题记录: maven打包报错Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.6.1:cle 解决办法: 这个 ...

  9. python failed to execute_PyQt5 Pyinstaller 打包 exe 提示 failed to execute script

    系统环境为:win7 32 位虚拟机 python 3.5.2 pyinstaller 3.3.1 PyQt5.9 python 文件在未打包时可运行 但是-w 打包后提示: failed to ex ...

最新文章

  1. HTML DOM Event 对象
  2. 太阳能发电产业有望大发展
  3. CSS3 经典教程系列:CSS3 圆角(border-radius)详解
  4. Elasticsearch实现原理分析
  5. Material delta download的deletion处理原理
  6. 作者:熊赟,复旦大学计算机科学技术学院副教授。
  7. 计算机python语言_计算机语言Python解释器
  8. Cocos2d-x--开发参考资料
  9. boost serialization 运行错误_boost c++之事件处理
  10. 水电图纸——电气系统识图-3.4
  11. 生活大爆炸第三季 那些精妙的台词翻译
  12. html 中div的下划线,div css布局命名时尽量避免下划线
  13. Linux Deepin 12.12 正式版本发布--焕然一新,即可惊艳!
  14. 嵌入式专业英文词汇汇总
  15. 应用回溯算法求全排列
  16. **matlab中fprintf函数简单用法**
  17. 熊猫儿 | 燕赵风云,风云燕赵
  18. 学完C再学C++(6)继承类
  19. 口布杯花的60种叠法_杯花折叠方法
  20. nyoj LYQの字符串(尺取法)

热门文章

  1. 富士W系列服务器,怀念一下曾经的FUJI GA645W
  2. 大型酒店数字化运营平台:人员、业务、资源统一管,降本提效、满意服务
  3. LCD背光驱动节电技术-LABC/CABC
  4. 为什么曾经优秀的人突然变得平庸?
  5. python事件是什么意思_Python的事件处理
  6. 计算机制成动态硬盘,Win7系统下基本磁盘怎么转换成动态磁盘
  7. 网络损伤仪可用于测试卫星通信
  8. Cas(04)——更改认证方式
  9. 关于这两年自学代码的一些个人心得体会
  10. 遥控直升机陀螺仪设定