How can I use the same python interpreter in development as the one in production? Interactive console in production prints:
2.7.5 (default, Jul 9 2013, 19:12:58)
[GCC 4.4.3]
My localhost interactive console prints:
2.7.5 (default, Mar 9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
The two versions are not compatible and it is breaking my code. Specifically:
In production:
print(type(5555555555))
# <type 'long'>
On localhost:
print(type(5555555555))
# <type 'int'>
What can I do so that my local python version is always the same as the one in production?
Update: I found out that AppEngine applications run on a 32-bit architecture; while my development machine runs on a 64-bit architecture.