【问题标题】:Will .exe created using pyinstaller in 64 bit Python 3.7 on windows 10 work on 32 bit windows 7?在 Windows 10 上使用 64 位 Python 3.7 中的 pyinstaller 创建的 .exe 是否可以在 32 位 Windows 7 上运行?
【发布时间】:2021-06-29 20:35:11
【问题描述】:

我在 Windows 10 上的 64 位 Python 3.7 应用程序上创建了一个简单的 Python 程序,并使用 pyinstaller (onefile) 将其转换为 .exe。它可以在 32 位 Windows 7 上运行吗?一般系统要求是什么(架构、Windows 版本、RAM(exe 文件大约 5 MB))

【问题讨论】:

    标签: python python-3.x windows pyinstaller


    【解决方案1】:

    没有。 pyinstaller 的工作方式是获取 Python 解释器、脚本和它需要的所有模块的副本,然后构建一个 zip。当您在另一个系统上运行它时,它会通过解压缩 zip 创建一个微型 Python 安装。如果你有一个 64 位的 Python,那么它就是嵌入的。 Windows 版本无关紧要。 RAM 要求是 Python 要求的。

    【讨论】:

      猜你喜欢
      • 2012-01-26
      • 1970-01-01
      • 1970-01-01
      • 2011-01-30
      • 2018-01-29
      • 2014-12-16
      • 2011-05-13
      • 2011-07-13
      • 2021-10-18
      相关资源
      最近更新 更多