I’ll introduce how to install Python 3 on macOS High Sierra.
If you haven’t installed Homebrew yet, please first refer to the article [Mac] Install Homebrew (and Git while we’re at it) and install it.
brew install python3
Just running this command will complete the Python 3 installation.
$ python3 --version
Python 3.7.0
$ pip3 --version
pip 18.0 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
$ which python3
/usr/local/bin/python3
$ ls -l /usr/local/bin/python3
lrwxr-xr-x 1 your_user admin 34 8 13 15:00 /usr/local/bin/python3 -> ../Cellar/python/3.7.0/bin/python3
$ which pip3
/usr/local/bin/pip3
$ ls -l /usr/local/bin/pip3
lrwxr-xr-x 1 your_user admin 31 8 13 15:00 /usr/local/bin/pip3 -> ../Cellar/python/3.7.0/bin/pip3
That’s all about installing Python 3 on macOS High Sierra from the Gemba.