- Open Terminal.
- Run
python --version. See what Python version you have. You need at least Python 3.12. You can get it from the main Python website. - Fetch and install Visual Studio Code if you don't already have it.
- Fetch the zip of this course (your instructor will tell you how).
- In Terminal, run:
unzip ~/Downloads/browser-learning.zip
cd browser-learning
python3 -m venv venv
. venv/bin/activate
python3 -m pip install -r src/requirements.txt
- Under the main menu in bottom left corner of the screen, open Terminal. Follow the instructions to turn on the Linux environment if necessary. Go with all the standard settings. (Note that this environment may not be available for guest users)
- Fetch the zip of this course (the instructor will tell you how). Copy it into the Linux environment from Chrome's downloads page.
- In the terminal, run these commands: (you might need to slightly change the filename in the first command)
unzip browser-learning.zip
cd browser-learning
./install-linux-prerequisites.sh
python3 -m venv venv
. venv/bin/activate
python3 -m pip install -r src/requirements.txt
If you have a school computer with command prompt blocked but access to IDLE, do this:
- In IDLE open a file. Navigate to
srcthen openinstall-prerequisites.py - Run it
Do what's required to install:
- Python 3.12+
tcpdump- Visual Studio code, or some other good code editor (the students will be doing lots of reading code so a good IDE is highly recommended)