HomeBrew and Python installation on Mac Book PRO
Dear Mac Experts,
I would appreciate getting some help installing HomeBrew and Python on my laptop.
I have a Mac Boo Pro 16" running macOS BigSur version 11.4
I have enrolled in an online school that will teach techniques to reconstruct images from CT, PET, MRI raw data. Such techniques are available in a development framework and make use of a biomedical library (SIRF and CIL)
Both SIRF and CIL are available for Mac, Linux, and will be available for Windows as well.
To work out the online examples, Mac attendees are required to install XCode, HomeBrew, and Python.
I already have XCode installed on my Mac. However, there is no HomeBrew.
I believe this Mac comes with Python 2.7 installed. In a terminal window I did the following:
mauramonville@Mauras-MacBook-Pro site-packages % pwd
/Library/Python/2.7/site-packages
mauramonville@Mauras-MacBook-Pro site-packages % ls
Extras.pth README
mauramonville@Mauras-MacBook-Pro site-packages % cat README
"This directory exists so that 3rd party packages can be installed here. Read the source for site.py
for more details."
Python seems to be installed as the command "python" responds when I enter it on the terminal window. However, the school will require the latest Python version that is higher than 2.7.
The school has published the installation instructions on the following website:
https://github.com/SyneRBI/SIRF/wiki/SIRF-SuperBuild-on-MacOS#Install_XCode_and_Homebrew
but they are quite confusing to me. In fact, XCode is already installed on my Mac. I still need HomeBrew and the latest Python.
There are instructions about integrating SIRF and CIL with MathLab, which I would like to use. Unfortunately, school instructors will demonstrate SIRF and CIL usage with Python.
My concern is to screw up my currently working Mac configuration.
Your help is more than welcome.
Thank you in advance.
Kind regards,
Maura E. M.
MacBook Pro 16″, macOS 11.4