This repo contains the code and notebooks shown during course tutorials.
You can also view the tutorial notebooks in your browser using nbviewer
by clicking the
button below.
-
Install the python3 version of miniconda. Follow the installation instructions for your platform.
-
Use conda to create a virtual environment for the assignment. From the assignment's root directory, run
conda env create -f environment.yml
This will install all the necessary packages into a new conda virtual environment named
cs236781
. -
Activate the new environment by running
conda activate cs236781-tutorials
-
Optionally, execute the
run-all.sh
script to run all notebook and test that everything is installed correctly.
Notes:
- On Windows, you should also install Microsoft's Build Tools for Visual Studio before installing the conda env. Make sure "C++ Build Tools" is selected during installation.
- After a new tutorial is added, you should run
conda env update
from the repo directory to update your dependencies since each new tutorial might add ones.