Vaibhav Kumar
Vaibhav Kumar

Reputation: 31

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? Please I really need an answer!

Upvotes: 0

Views: 3950

Answers (2)

user7548672
user7548672

Reputation:

After installing both a 32 bit and 64 bit version of Python try running the following command to create the required exe distributable.

python -m pyinstaller {args}

Or it can be

python3.5 -m pyinstaller {args}

Upvotes: 2

stackoverblown
stackoverblown

Reputation: 802

Download, install a 32-bit version of python and use that instead of the 64 bit python that you are using.

Upvotes: 3

Related Questions