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.
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.