How to upgrade from python 2.7 to 3.5 on Mac OSX? I downloaded the python 3.5.dmg file and installed it. What changes should I make for PYTHONPATH and PATH?
Is it possible to use both without problems using virtualenv?
There is no need to download the .dmg file, just do it using "brew". Macbook has preinstalled python2. To download python3, run this on a terminal:
brew install python3
If you already have Python 2.x installed, you can use brew upgrade python to upgrade to Python 3.x
brew upgrade python
there was this problem as well. I moved to the PATH location for Python2.x and Python3.7. Updated with homebrew and hopefully the pip installer will work.