[Chicago] Python on OSX Install
Ryan Manly
ryan.manly at gmail.com
Fri Oct 12 01:33:56 CEST 2012
I am a noob. I bought the 4th Edition book a few weeks ago and I signed up
for that Coursera course last week, I think.
But what is wrong with using the installer from Python.org? I mean aside
from simply setting CFLAGS or something at compile time?
A simple
export
PYTHONPATH=$PYTHONPATH:/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python:/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
even gets you access to Foundation in 2.7.3. Without any super obvious
errors in my (really) limited usage.
Truly curious if there are other reasons people are using brew and source
for more than just compile time tweaks.
Thanks,
Ryan M. Manly
Glenbrook High Schools
On Thu, Oct 11, 2012 at 5:25 PM, Rob Kapteyn <robkapteyn at gmail.com> wrote:
> I haven't done this for a while.
> From what I recall, the "canned" python build is a 32-bit and I wanted to
> try out 64-bit python.
> According to my own notes:
>
> building python on Snow Leopard:
> ./configure --enable-framework MACOSX_DEPLOYMENT_TARGET=10.6
> --with-universal-archs=intel --enable-universalsdk=/
> Optionally: --with-framework-name=python64
>
> After this configure, the usual:
> make
> sudo make install
>
> Hope that helps.
> -Rob
>
> On Thu, Oct 11, 2012 at 4:00 PM, Tom Yarrish <tom at yarrish.com> wrote:
>
>> Hey all,
>> So I wanted to find out if there is a decent install doc on getting
>> Python 2.x (from source) running correctly on OS X (in this case 10.6
>> and higher). I'm still in the process of googling, but I wasn't sure
>> if anyone had a good reference guide to work off of.
>>
>> I've seen a lot about how there are some minor annoyances in how Apple
>> packages it, and I run into some of them now and then when I'm trying
>> to install some python modules that are more geared for *nix systems.
>>
>> So aside from running a Linux VM to do my Python stuff, are there any
>> other good resources to look at?
>>
>> Thanks,
>> Tom
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> http://mail.python.org/mailman/listinfo/chicago
>>
>
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20121011/2455b39c/attachment.html>
More information about the Chicago
mailing list