While working through the first lab, you may have run into problems due to missing tools, which may include:
The following sections walk you through how to install them.
First, you should install the most recent version of Python. You can download and run the installer from https://www.python.org/downloads/. When prompted by the installer, make sure to check the box to add Python to your
PATH environment variable. If you're already familiar with and prefer to use a package manager (e.g.,
apt on Ubuntu or
brew on Mac) to install Python, feel free to do so, but make sure you install Python 3.9 or later.
If you previously installed Python but didn't check the box to add Python to your
PATH, you can re-run the Python installer and choose the "Modify your installation" option, then check the box and run the installer again.
After installing Python, you'll need to install the following third-party libraries:
To install the above, open a command line / terminal window and run the following command:
pip3 install pytest numpy matplotlib pandas
Amidst the subsequent output you should see each of the libraries being installed properly.
If you're on a Mac, you already have Git installed and may skip this step.
Download and run the Git installer from https://git-scm.com/downloads.
If you haven't previously done so, you should also configure Git with your name and email address. To do so, open a command line / terminal window and run the following commands, replacing the name and email address with your own:
git config --global user.name "Your Name" git config --global user.email firstname.lastname@example.org