Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jkigel

macrumors newbie
Original poster
Mar 7, 2013
14
0
Hello,

I found out that the installed Python2 version on my machine (OS X Yosemite) is 2.7.6 but the latest is 2.7.8.


How can I update Python version to the latest?

I also found inside /System/Library/Frameworks/Python.framework/Versions folder that Python 2.3, 2.5 and 2.6 are also installed.
Can I delete these version?


Thanks!
 
2.7.6 is probably new enough - I wouldn't sweat it. No new features were added in the year between 2.7.6 and 2.7.8 - just minor bug fixes that managed to lay dormant for a decade before one user out of millions found it (just so you get an idea of how incredibly insignificant they are.) I have a lot of machines running Python. One is running 2.5.?, a few are running 2.6.?, and the rest are running either 2.7.6 or 2.7.8 (depending on if I had to manually install or if it came with Python included.)
 
I wouldn't touch your system Python - a lot of scripts in your OS apparently use that system Python.

Probably a reason also for those old versions. If you have upgraded your system several times, these old python versions are probably leftovers from the older OS's. At least take a backup using super duper or carbon copy before removing them !!!

If you want to work with the latest version of Python, you can always install either the official python (it'll be installed alongside the system one) from python.org or a distribution. I like Anaconda, which has it's own separate install system using the "conda" command and a huge number of scientific packages.
 
Hello,

I found out that the installed Python2 version on my machine (OS X Yosemite) is 2.7.6 but the latest is 2.7.8.


How can I update Python version to the latest?

I also found inside /System/Library/Frameworks/Python.framework/Versions folder that Python 2.3, 2.5 and 2.6 are also installed.
Can I delete these version?


Thanks!

You can also install Python 3.

http://braumeister.org/formula/python3
 
pyenv, also homebrew related, is decent as well.


You can select as many python versions as you want and command line makes them as temporary or permanent as you would like.

If you ever go down the perl route it be the same thing, vendors if they push out perl scripts look for stock as well. there are other brew projects for this as well.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.