I have MAC OS X 10.8 and I upgraded my python to version 2.7.3 using the official Python binary from their site.
I am trying to run a python script that must be executed using 32-bit python.
How can I make 32-bit python run instead of 64-bit?
The batch file / usr / bin / python gives me the following result.
Alis-Mac:~ ali$ file /usr/bin/python
/usr/bin/python: Mach-O universal binary with 2 architectures
/usr/bin/python (for architecture i386): Mach-O executable i386
/usr/bin/python (for architecture x86_64): Mach-O 64-bit executable x86_64
I also tried the following.
export VERSIONER_PYTHON_PREFER_32_BIT=yes
But that didn't even help, because now I have custom python, I think.
My script has wxpython code in it, and I'm building an OSX application using the platypus, so I need to get my script to work with 32-bit python. Please, help.
source
share