【问题标题】:Pyinstaller .exe not working in windows 10 and windows 8.1Pyinstaller .exe 在 Windows 10 和 Windows 8.1 中不起作用
【发布时间】:2016-06-09 15:47:11
【问题描述】:

我有一个 Windows 7 32 位虚拟机,在我的 Windows 10 64 位机器上的虚拟机中。我使用 pyinstaller 为 hello world 程序创建了 .exe 文件,该 exe 在 windows 7 机器上运行良好,但是当我在 windows 10 和我的姐妹笔记本电脑 windows 8.1 上尝试它时,它就无法打开。如果我通过 cmd 打开文件,它就会卡在加载中。 知道那里出了什么问题吗? 谢谢。

【问题讨论】:

  • 这里有同样的问题。还没有运气
  • 嗨 Udi-Flp 和石灰,你发现了吗?

标签: python windows python-2.7 pyinstaller


【解决方案1】:

我只在 Windows 10 机器上遇到了同样的问题。 我用命令构建 pyinstaller --onedir --noconsole --noupx Reserv.py 但是 libiomp5md.dll 的另一个依赖项未包含在我的 dist 构建目录中。所以当我添加这个文件时,我的 exe 开始在 win10 下工作。

【讨论】:

    猜你喜欢
    • 2014-03-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-08
    • 2018-12-04
    • 2015-12-12
    相关资源
    最近更新 更多