In article <d0b40d9f-a58d-42f1-9674-3b380be3d...@pobox.com>, Jonathan Lundell <jlund...@pobox.com> wrote:
> > On 26 Nov 2014, at 2:00 PM, Chris Barker <chris.bar...@noaa.gov> wrote: > > > > On Wed, Nov 26, 2014 at 12:13 PM, Scott Clausen <scottclau...@mac.com > > <mailto:scottclau...@mac.com>> wrote: > > I've been searching the sites to find out how to set the latest version of > > Python, 3.4.2, as the default version. So far I've not been able to do so. > > > > you put it first on your PATH in .bash_profile > > > > If you installed from the dmg on python.org <http://python.org/>, it should > > have done that for you. > > > > Though you might want to consider that there are other Python clients around > that might not like Python 3 all that well. I've seen a suggestion floating > around (Stack Overflow IIRC) that one might create a 'python3' alias, and > hash-bang to that where needed. Or whatever. Python 3.4 normally comes with a python3 alias. If you use the python.org Python 3.4 installers, the default names installed for invoking it are: "python3" and "python3.4" and possible others, like "python3-32". It does not include "python" which is, by default, reserved for Python 2.x installations. One exception is within active virtual environments such as provided by virtualenv or Python 3's native pyvenv. If you install a Python 2.7 from python.org, it will be accessible by "python2.7", "python2", and "python". That allows both Python 3 and 2 to co-exist. If you want to override that, you can create or modify symlinks in the framework bin directories (in /Library/Frameworks) and/or in /usr/local/bin. Whatever you do, don't try to modify or uninstall the Apple supplied system Pythons in /usr/bin and /System/Library/Frameworks.. -- Ned Deily, n...@acm.org _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG