N
N
notfallen2015-11-11 18:23:46
Python
notfallen, 2015-11-11 18:23:46

How to upgrade python version 2.7.1 to 2.7.9 or 2.7.10 on OS X Lion?

Hello! OS X Lion 10.7.5 comes with Python 2.7.1 preinstalled. Tell me, please, how to upgrade to 2.7.10 or at least to 2.7.9?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Guest007, 2015-11-12
@Guest007

If you need it for development, then you can not change the system python, but use https://github.com/yyuu/pyenv - an extremely useful thing in such cases. I'm experimenting with pypy like this and making a project on python3.5 despite the fact that the system python is 2.7.10
It says how to install on Mac via brew: https://github.com/yyuu/pyenv#homebrew-on-mac- os-x

D
Danil Markov, 2015-11-11
@qmmp123

Collect from sources. Have you tried updating the entire OC?

M
mukizu, 2015-11-12
@mukizu

docs.python-guide.org/en/latest/starting/install/osx Installing
Homebrew
Installing Python
In brew, you can then choose which version to use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question