If you have a Mac, you need to install the Xcode command line tools before installing Python 3.14 and the scientific computing modules below. To do this, run the following command in Terminal:
xcode-select --install
Click Install then Agree. This may take 10-15 minutes so grab a coffee.
In this class we are using the Python 3.14 programming language, though a recent version installed from a previous Colby CS course may work fine. To help make sure that your Python code is compatible with mine, I recommend using the following instructions to install Python 3.14. Here are instructions for both Mac and Windows users.
python-3.14.7-macos11.pkg (you might not see the .pkg part and that's ok). The file should be in your Downloads folder.




the Finder window, which should open a Finder window to your Python 3.14 install directory.

Install Certificates.command file. This will be important for downloading datasets from within Python scripts during the semester.Applications/Utilities folder in Finder or by searching for it using Spotlight (press Cmd+spacebar, type Terminal, then press Enter)).python3 --version and hit Enter. It should return Python 3.14.7, which means it worked! If you see a different version (e.g. Python 3.8.2), try logging out and logging back into your account (or restarting your Mac) then try again.Note: The screenshots show the process for Python 3.11, but it is very similar for Python 3.14.
.cmd and enter.python --version, then press Enter. It should print Python 3.14.7, which means it worked!You will need a standard set of Python machine learning and AI libraries installed. After installing Python 3.14, run these commands in Terminal to install the modules using pip.
pip3 install --upgrade pippython -m pip install --upgrade pippip3 install numpy scipy matplotlib jupyter pandas Pillow certifi jax torch torchvision lightning
6.python3import torchprint(torch.sum(torch.tensor([1, 2, 3])).item())exit()pythonimport torchprint(torch.sum(torch.tensor([1, 2, 3])).item())exit()After installing Jupyter notebook,
follow the these steps to open and update a notebook file (.ipynb file extension).
cd).jupyter notebook.
A browser window should pop up with a file browsing interface of the current working directory
in Terminal.
When you are ready to close down Jupyter, find the browser window (or tab) that opened when you launched jupyter notebook and click Shut Down in the File menu.

I recommend using the same text editor to write your code for projects as I use in class, which is called Microsoft Visual Studio Code (VS Code for short). Here are instructions how to install it for Mac and Windows PC users.
Visual Studio Code in your Downloads folder. Drag it into your Applications folder: 
test.py). You should see a pop-up asking you about installing a Python extension. Click Install: 

Python 3.14.7 64 bit followed by /usr/local/bin/python3: 
Do not show again. You should now be all ready to write Python code in VS Code! 


.
.
View tab and make sure that Hide extensions for known file types is unchecked.
Zoom is a good option for recording from your screen and webcam simultaneously for project extensions. In addition, Zoom will be for the rare case of office hours held remotely, in which case we want to setup the feature where I can control your screen remotely.
Download Zoom to your computer and install it (you want "Zoom Desktop Client").
Mac users: click the "Download for Apple Silicon" button.
Follow these instructions to get your camera, your microphone, and (important) screen sharing enabled.
These instructions assume that you know how to get to macOS System Settings. The following screenshots show you how to get there.


Click on "Privacy and Security" in the left sidebar to get to where the Zoom website instructions begin.
© 2026 Oliver Layton