Search code examples
python32bit-64bitconverters

How to convert a python code into a 32 bit application on a 64 bit machine


I've downloaded python 3.10 32 bits and tried to convert it again but still, it came out as 64 bit. I used pycharm to code and pyinstaller to convert.


Solution

  • Seems you want to generate the 32-bit app by pyinstaller, but failed. Because you used 64-bit python to run pyinstaller.

    To solve this, you can install Python3(32-bit version) in a new environment and use Python3(32-bit version) to invoke pyinstaller to generate the 32-bit app.