

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to BookBot
incomplete
2: Workspace
incomplete
3: Readme
incomplete
4: Installing Python
incomplete
This lesson's interactive features are locked, please to keep using them
Until now, you've written Python in the browser. Install Python 3 on your computer so you can run BookBot locally.
Follow the instructions for your operating system.
You may already have Python 3 installed. Check by running:
python3 --version
If that worked, skip to the submission step.
If the command failed and you're using Ubuntu (including WSL 2's default distribution) or Debian, install Python 3 with apt:
sudo apt update
sudo apt install -y python3
python3 --version
If your Linux distribution doesn't use apt, install Python 3 with its package manager, then run python3 --version.
Submit the CLI tests. There's no penalty on failure for this lesson.
We'll use the Homebrew package manager to install Python 3.
brew --version
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python
python3 --version
That command should print a Python 3.x version.
Submit the CLI tests. There's no penalty on failure for this lesson.