如何知道我构建的是 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/