gpt4 book ai didi

python - 不是有效的 Win32 应用程序...Python、PyInstaller、Windows7

转载 作者:行者123 更新时间:2023-11-28 21:49:47 25 4
gpt4 key购买 nike

我如何知道我构建的是 32 位应用程序还是 64 位应用程序?

我使用 Pyinstaller 创建了 .exe,它在我的计算机(Win7 Ultimate 64)上运行良好,当我尝试在虚拟机(Win7 Home Premium 64)上运行相同的 exe 时,我得到:错误 193 不是有效的 Win32 应用程序.

python 2.7 32 位PyInstaller 2.1(我想也是32)

那么这个 32 位应用程序不是应该也能在 64 位上正常工作吗?

最佳答案

使用“python27\Scripts>pip uninstall pyinstall”卸载并重新安装“python27\Scripts>pip install pyinstall”对我有用。

关于python - 不是有效的 Win32 应用程序...Python、PyInstaller、Windows7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32991315/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com