Published using Google Docs
CS134: Windows Setup [Updated S24]
Updated automatically every 5 minutes

Setting Up Your Windows Machine for CSCI 134

Throughout the semester, you should prioritize using the computers (in TCL 217A and TCL 216) to work on your lab assignments.  All the utilities you need have already been installed on them, and they have been set up so students do not face any platform-dependent issues.  

In case you want or need to use your personal machine, this document gives you instructions on how to set up your personal Mac machine. If you face any problems, please reach out to the CSCI 134 staff (cs134staff@cs.williams.edu).

Note.  Each person's computer is different, and while these instructions work for most of them, there will inevitably be some unique issues and quirks that you may experience and learn how to workaround.  If you encounter any such issues, please drop us a note.

Step 0.  Windows 10 or above

Make sure that you have Windows version 10 or above.  If you have an older version, you need to upgrade it (upgrading is free).

Step 1.  Install Python

Install Python from the Windows Store by visiting the Python 3.11 for Windows page. Proceed to install with the default options for any choices you have during installation.

Step 2.  Install VS Code

You need to install VS Code as an editor for your programs. Download it from https://code.visualstudio.com/. Once downloaded, click the installer (*.exe file). During installation, just select the default options. After installation, it should open VSCode automatically. At this point, you may wish to pin the VSCode icon (a sideways blue ribbon) to the bottom taskbar by right-clicking on the icon and selecting "Pin to taskbar".

Step 3.  Install the Git Source Code Control System

We will use Git to manage your source code for the labs, by downloading and running the Git for Windows Installer: https://github.com/git-for-windows/git/releases/download/v2.35.1.windows.2/Git-2.35.1.2-32-bit.exe .

Installing Git can be straightforward, but the installer will present you with many options you can configure.  Simply stick with **default** options, **except for two specific features**:

The installer on finishing may open a webpage containing "Release Notes".  You can close that page.

Step 4.  VS Code and Git Configuration

git --version

git config --global user.email your-williams-id@williams.edu

git config --global user.name your-CS-username

git config --global push.default simple

git config --global pull.rebase false

git config --global http.sslBackend schannel

pip3 install --upgrade pip

pip3 install jupyterlab matplotlib pillow colorama pygame

Step 5.  Setup CS134 Folder

Now are you ready to create your CS134 directory.  Unix directories correspond to folders in your Mac or Windows operating system. You will be creating many files on your computer for this class. We suggest that you put all of your work in a single folder, called cs134 in your home directory.  You can navigate to your home directory from within the Terminal as follows:

cd ~

mkdir cs134

ls

Step 6.  Clone Files from Evolene

git clone https://evolene.cs.williams.edu/cs134-labs/22xyz3/setup.git

cd setup

cp settings.json ~/Library/Application\ Support/Code/User/settings.json

python3 welcome.py


Note.  You do not need to submit anything.  The purpose of this lab was to set up your personal machine with CSCI 134 tools and test that the course workflow is working correctly.



[1] If you are off campus, this is the point where you need to connect to the Williams College VPN server.                                                     

                                        Â