Python3 Installation Mac - CaronLab/MhcVizPipe GitHub Wiki
Installation of Python (Mac OS)
MhcVizPipe requires Python 3.7 or higher to run. If you are using a recent Mac operating system, it is likely you
already meet this requirement. However, if you are unsure how to go about checking this, the following instructions
will help you check the version of Python on your system and install a new version if needed.
It is quite possible that your Mac computer already has Python3.7 or or a higher version installed as well as Pip (which will be used later to install MhcVizPipe). To check this:
-
Open the Terminal (2 options):
- Go to Finder/Applications/Utilities/Terminal
- Open Launchpad and type Terminal in the search box
-
Verify if you have Python 3.7 or higher and Pip3 (2 options):
- In the terminal, type (and then hit enter):
and again typepython3
(then hit enter)pip3
- If both show Python version 3.7 or higher, good. You can skip ahead to
Installing third-party software.
If not, go on to step 3 to install it.
- Note: It is possible that MacOS will prompt you to install Python3 when you enter
python3
in the terminal. If happens, you can follow the instructions. After it is installed, you will likely be inside Python running through the terminal. You will want to exit Python and then repeat step 2.i to confirm Pip is also properly installed. Typeexit()
and hit enter to return to the normal terminal, the repeat step 2.i.
- Note: It is possible that MacOS will prompt you to install Python3 when you enter
- If both show Python version 3.7 or higher, good. You can skip ahead to
Installing third-party software.
If not, go on to step 3 to install it.
- In the terminal, type (and then hit enter):
-
Download and install Python 3.7 and Pip
- To download Python3.7 and Pip, follow this link or copy-paste it into your web browser: https://www.python.org/ftp/python/3.7.8/python-3.7.8-macosx10.9.pkg.
- After it downloads, open it up and follow the installation instructions.
-
Verify that both Python3.7 and Pip are now installed (see step 2).
-
Install SSL certificates for Python (something that improves the security of your Python and Pip installations)
- Open a terminal (see step 1)
- Type or copy paste the following command:
pip3 install certifi
- Hit enter
If you encounter problems, try consulting a more in-depth guide.
Go to the next step: Installing third-party software.