How to upgrade from python 2.7 to 3.5 in Mac OSX? I downloaded python 3.5 .dmg file and installed it. what are the changes I should make for PYTHONPATH and PATH?
Is it possible to use both without any issues using virtualenv ?
Show activity on this post. brew install python --> install the latest Python. ls -l /usr/local/bin/python* --> List all Python versions installed on your system. ln -s -f /usr/local/bin/python[your-latest-version-just-installed] /usr/local/bin/python --> Change default Python version to the latest version.
There is no need to download .dmg file, just do it using "brew". You macbook is preinstalled with python2. To download python3, run this on terminal:
brew install python3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With