python on Mac

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • luca.ciciriello@email.it

    python on Mac

    Hi All.
    I'm really new in the python world, so, sorry if my question is particulary
    stupid.
    I've just installed on my system (Mac OS X 10.4 PPC) the python version
    2.5.2 and all works fine.
    My next step is to install the version 3.0 (when available). I've read
    somewhere that this version will break the backward compatibility with the
    2.x series. I know that several Mac apps (such as Xcode developement
    environment) use python for its internal functionalities . Now, my question
    is: what will appen to the Mac apps if I install the version 3.0 of python?
    Is it safe to install this version without to compromise the behaviour of
    the system?

    Thanks in advance for any answer and, again, sorry if my question is
    particulary stupid, I will learn with time.

    Luca.



    --
    Email.it, the professional e-mail, gratis per te: http://www.email.it/f

    Sponsor:
    Carta Eureka realizza i tuoi sogni! Fido fino a 3.000 eruo, rate a partire
    da 20 euro e canone gratis il 1° anno. Scoprila!
    Clicca qui: http://adv.email.it/cgi-bin/foclick....876&d=20080827


  • Lou Pecora

    #2
    Re: python on Mac

    In article <mailman.122.12 19898898.3487.p ython-list@python.org >,
    luca.ciciriello @email.it wrote:
    Hi All.
    I'm really new in the python world, so, sorry if my question is particulary
    stupid.
    I've just installed on my system (Mac OS X 10.4 PPC) the python version
    2.5.2 and all works fine.
    My next step is to install the version 3.0 (when available). I've read
    somewhere that this version will break the backward compatibility with the
    2.x series. I know that several Mac apps (such as Xcode developement
    environment) use python for its internal functionalities . Now, my question
    is: what will appen to the Mac apps if I install the version 3.0 of python?
    Is it safe to install this version without to compromise the behaviour of
    the system?
    >
    Thanks in advance for any answer and, again, sorry if my question is
    particulary stupid, I will learn with time.
    >
    Luca.
    The standard Python installs that I have put the new python in the
    directory /Library/Frameworks/Python.framewor k/Versions/Current/ and
    the additional packages in some subdirectory of that one.

    The Apple installed Python is in
    /System/Library/Frameworks/Python.framewor k/Versions/Current/

    DO NOT TOUCH that one. Just leave it alone. You can set your
    ..bash_profile path to make sure your Python is used when you run your
    scripts. This shouldn't affect the Apple Python. Basically, the
    directories /usr/local/:/usr/local/bin/ should come *before* the system
    /bin directories. So your .bash_profile should have something like this
    line in it:

    PATH="/usr/local/:/usr/local/bin/:${PATH}"
    export PATH

    Bottom line: your installs and Apples' Python are separate and that's
    how it should be.

    Hope that helps. Others: please correct if I am wrong. Thanks.

    --
    -- Lou Pecora

    Comment

    Working...