[Pythonmac-SIG] Which version of python on OSX Lion 10.7.2
Erik van Blokland
letterror at gmail.com
Thu Dec 8 14:13:01 CET 2011
Hi all,
I'm writing some code intended to help installing some python modules on OSX. There are some complications outside my control (that I hope I won't have to go into) that make it a bit of a puzzle.
The installer is targeted at Python 2.7.1 on OSX Lion 10.7.2, and this has an accessible site-packages folder at
/Library/Python/2.7/site-packages
While trying my installer on different machines (MacBook, MacBook Pro, iMac) running Lion (OSX 10.7.2, build 11C74), most of the python versions I see are:
> Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
I came across a new MacBook Pro, OSX 10.7.2, also build 11C74. This one had another one:
> Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 14:13:39)
> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
This machine is brand new and hasn't had any post-unpacking installations. This 2.7.2 also looks at
/Library/Python/2.7/site-packages
..which is helpful, but this version doesn't have any of the OSX modules, no objc or AppKit.
Any other users with a similar experience? Is the 2.7.2 somehow a freak version, or are there really multiple versions floating around?
Thanks!
Erik van Blokland
More information about the Pythonmac-SIG
mailing list