[英]How to make 32-bit applications in Python in a 64-bit PC
I use pyinstaller or cx_Freeze whenever I want my Python file to convert it into a.exe package, but the problem is, my PC is 64-bit, and if I make that application, it only runs on a 64-bit PC, that's why I want to know, is there a way to develop 32-bit applications on a 64-bit PC using any module or anything?每当我想要我的 Python 文件将其转换为 a.exe package 时,我都会使用 pyinstaller 或 cx_Freeze,但问题是,我的 PC 是 64 位的,如果我制作该应用程序,它只能在 64 位 PC 上运行,为什么我想知道,有没有办法使用任何模块或任何东西在 64 位 PC 上开发 32 位应用程序? Please I really need an answer!
请我真的需要一个答案!
Download, install a 32-bit version of python and use that instead of the 64 bit python that you are using.下载,安装 python 的 32 位版本,并使用它代替您正在使用的 64 位 python。
After installing both a 32 bit and 64 bit version of Python try running the following command to create the required exe distributable.安装 Python 的 32 位和 64 位版本后,尝试运行以下命令来创建所需的 exe 可分发文件。
python -m pyinstaller {args}
Or it can be或者它可以是
python3.5 -m pyinstaller {args}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.