Something not working? Try the fix below. If you've tried it and restarted your computer and it still doesn't work, raise your hand.
If you have an M1 or M2 Mac (Apple Silicon), Homebrew installs to a different location that your terminal doesn't know about yet.
Fix — run these two commands:
echo 'eval "$(/opt/homebrew/bin/brew shellenv 2> /dev/null)"' >> ~/.zprofile
source ~/.zprofile && exec zshThen try the original command again.
sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functionsThen restart your terminal and try again.
Your Xcode developer tools need reinstalling:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --installWait for the install to finish (it takes a few minutes), then retry the pyenv install command.
Your WiFi network is blocking the Microsoft download. Try either:
- Connect to a mobile hotspot and retry
- Run
wsl --install --onlineinstead - Install Ubuntu from the Microsoft Store directly
Open Command Prompt (not Ubuntu) and run:
wsl --shutdown
Then close all Ubuntu windows and reopen them. This is the correct way to restart WSL. Restarting Windows also works but takes much longer.
Restart your computer. This almost always fixes it.
Ask a teacher — they can reset it for you.
Right-click on Command Prompt and choose "Run as administrator".
Create a new GCP project:
- Go to the Cloud Console
- Click the project dropdown at the top → New Project
- Give it a name (e.g.
Wagon Bootcamp 2) - Leave the Organization field as "No organization"
- Click Create
Then continue from the step where you set your project in the terminal:
gcloud config set project YOUR_NEW_PROJECT_IDRun the authentication command again:
gcloud auth application-default loginMake sure you log in with the same Google account that owns your GCP project (your personal Gmail, not a work or school account).
Also check your Project ID is set correctly:
gcloud config list projectThe Project ID looks like wagon-bootcamp-123456 — it's different from the project name you chose.
gcloud config list projectOr go to console.cloud.google.com — the Project ID is shown below the project name in the dashboard (format: your-project-name-123456).
You'll need to delete your SSH key and create a new one without a passphrase. Ask a teacher for help — they'll walk you through the three commands needed.
Run the command shown in the guide. If you see no error message (just a new prompt $), it worked. If you see a line starting with error: or fatal: or zsh: command not found, it didn't.
If you've tried the fix above, restarted your computer, and it still doesn't work — raise your hand. Don't spend more than 5 minutes on the same error.