Friday, 23 August 2013

How to install python 2.7.5 as 64bit?

How to install python 2.7.5 as 64bit?

When downloading the python 2.7.5 here, I download the python installer
with the link "Python 2.7.5 Mac OS X 64-bit/32-bit x86-64/i386 Installer
(for Mac OS X 10.6 and later [2])". Installed the python, I cd the
directory "/Library/Frameworks/Python.framework/Versions/2.7" and execute
the following python code:
import sys
print sys.maxint
and I get 2147483647 which means I am runing the python of 32bit version.
How can I install the python of 64bit version?

No comments:

Post a Comment