1

How can I upgrade Python from 2.7.10 to 2.7.11 on OSX (Yosemite)?

1
  • 1
    Isnt python already on 3.6? – jiggunjer Jan 14 '16 at 10:06
1

You should not replace the Python version that comes with OS X. If you do, you may break something in your system. Instead, you should install a new instance of Python.

You could use brew whenever they are offering 2.7.11:

brew install python

However, it is likely that they still only offer 2.7.10. In that case, you can download the source code and compile it yourself. Unpack into a directory and run:

./configure --prefix=/opt/python2.7.11 && make && make install
3

brew install python@2

You can install python 2 version this

(It will take only latest 2.7.X version)

brew install python

will install python 3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.