Installing on macOS
Tip: To avoid errors, instead of typing the commands below, select and copy them from this page and paste them into the terminal.
-
Open a terminal.
- Enter
python3.12 -V
to check if you have Python 3.12. If you get an error message like ‘command not found’:- Download and run the Python 3.12 installer.
-
If you installed Python in step 2, close the terminal and open a new one.
-
Enter
xcode-select --install
and follow the instructions. If you get a message that the command line tools are already installed, then this step is done. -
Enter
cd <M269 folder path>
, e.g.cd ~/OU/m269-25j
, to go to your M269 folder. (~
is a shorthand for your home folder.) -
Enter
curl -LO https://github.com/dsa-ou/m269-installer/raw/main/install.sh
to download the installation script. -
Enter
chmod +x install.sh
to allow the installation script to run. -
Enter
./install.sh
to run the installation script. Ignore a message about pytype and networkx being incompatible. - Close the terminal.
You will have these files in your M269 folder:
install.sh
: the installation scriptrequirements.txt
: the list of M269 softwarecustom.css
: the style changes to Jupyter notebooks
Tip: Do not remove these files, so that you can re-install the software, if needed.
⇧ Home | Using ⇨ |