Hi 👋 and welcome to the course! 🎉
Before we start, please make sure your computer is ready. This guide explains everything you need to install and configure so you can follow along with the course smoothly. While you will be able to follow the course without setting up your personal environment on your own computer (e.g. by using Google Colab), we encourage you to take the steps below. This will benefit all your potential future workflows and set you up to use Python and version control in a professional way.
We’ll use Python 3.10 or later.
- Windows & macOS: Download from the official website: https://www.python.org/downloads/
- Linux (Ubuntu/Debian):
sudo apt update sudo apt install python3 python3-pip
python --version
Expected output: Python 3.10.x
or higher.
We’ll use VS Code as our code editor and Jupyter Notebook environment.
- Download here: https://code.visualstudio.com/
- Recommended extensions (can be installed separately within VS Code):
- Python (Microsoft)
- Jupyter (Microsoft)
Once installed, you’ll be able to open and run Jupyter Notebooks directly inside VS Code (no need to open a browser separately). You might also use other IDEs like PyCharm. Most of the steps outlined in this guide should similarly apply there, too.
It’s best practice to use a virtual environment for Python projects. PLACEHOLDER REASONS FOR VENV.
In a new terminal window ...
# Navigate to your course folder
cd path/to/your/course/folder
# Create a virtual environment
python -m venv venv
# Activate it
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
✅ You should see (venv) in your terminal prompt after activation.
pip install jupyter numpy pandas matplotlib
- Open VS Code.
- Use File > Open Folder and select your course folder.
- Create or open a .ipynb file.
- In the top-right corner of the notebook, select the correct Python interpreter (your virtual environment).
- Run cells using the
▶️ button that appears next to them.
Open a new Jupyter Notebook in VS Code and paste the following code into a cell:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
print("NumPy version:", np.__version__)
print("pandas version:", pd.__version__)
plt.plot([1, 2, 3], [4, 5, 6])
plt.show()
✅ If you see the versions printed and a simple line plot, you’re all set!
If you want to clone the course repository and track your own progress with Git and GitHub:
- Download from: https://git-scm.com/downloads
- Verify installation (using a new terminal window):
git --version
Sign up at https://github.com/.
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
You can connect in two ways:
-
HTTPS (simpler for beginners)
- Clone repos with: git clone https://github.com/username/repo.git
- Enter your GitHub username & password (or personal access token).
-
SSH (recommended if you use GitHub often)
- Generate an SSH key:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
- Copy the key
cat ~/.ssh/id_rsa.pub
- Add it to your GitHub account: GitHub SSH Keys Settings
- Test connection:
ssh -T [email protected]