We use third-party cookies in order to personalize your site experience. See our Privacy Policy.
Data Science Requirements
These instructions are not complete and will be updated soon
Setting Up Your Local Environment for Data Science
If you want to run everything on your own laptop, follow the steps below. This guide works for macOS, Windows, and Linux.
We’ll use Miniforge, a lightweight Python distribution with the conda-forge channel and the mamba package manager (faster than conda).
Download Miniforge for your operating system:
Run the installer and accept the defaults.
After install, close and reopen your terminal.
Test it:
mamba --version
We’ll make a clean environment called ds with all required libraries.
mamba create -n ds python=3.11 jupyterlab ipywidgets \
  numpy jax pytorch torchvision torchaudio cpuonly \
  matplotlib plotly
mamba activate ds
Now you have:
Start JupyterLab inside the environment:
jupyter lab
It will open in your browser at http://localhost:8888
Inside a notebook, try:
import numpy as np, jax, torch
import matplotlib.pyplot as plt, plotly.express as px
print("NumPy:", np.__version__)
print("JAX:", jax.__version__)
print("PyTorch:", torch.__version__)
plt.plot([0,1,2],[0,1,4])
plt.show()
If all runs without errors, you’re good to go.
Troubleshooting
mamba install -n ds -c conda-forge jupyterlab-plotly
GPU acceleration (optional) → On machines with NVIDIA GPUs, install the CUDA-enabled PyTorch build instead of cpuonly:
mamba install -n ds pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
✅ After this setup, you’ll have everything you need locally for the Data Science class.