product image

What is a virtual environment?

Keep every Python project's tools separate

The habit that stops projects breaking each other.

A virtual environment gives each project its own private toolbox. This free lesson shows you how to make one, turn it on, install a package into it, and prove it stays separate — in Command Prompt and PowerShell.

What you’ll learn

  • What packages are and why projects clash
  • Creating and activating a virtual environment
  • Installing a package with pip
  • Proving the environment is isolated
  • Fixing the PowerShell “running scripts is disabled” error safely

What you get

  • A step-by-step lesson with real screenshots
  • A 30-second explainer video
  • A checker script and a one-page command sheet

Who it’s for: beginners who’ve done What is Python?

Time: about 10 minutes.

Next lesson: What is automation?