Getting a sane Python3 runtime on a Mac can be tedious. The most painless way I have found thus far installing a Python3 package from python.org and, from there, installing two additional packages into the system directory: pip
and pipx
.
Install Python with a package from python.org. This post uses 3.6.8: https://www.python.org/downloads/release/python-368/
At this point, close the current shell and launch a new shell. This will ensure you have Python 3.6 in your PATH
; you should see something similar to: