Adding Python to PATH

Arianne Dee
Arianne Dee 10 Lessons 52m Mar 31, 2026 basics best-practices devops

You may need to add Python to PATH if you’ve installed Python, but typing python on the command line doesn’t seem to work. You might see a message saying that python isn’t recognized, or you might end up running the wrong version of Python.

A common fix for these problems is adding Python to the PATH environment variable. In this video course, you’ll learn how to add Python to PATH. You’ll also learn what PATH is and why it’s essential for tools like the command line to be able to find your Python installation.

What’s Included:

  • 10 Lessons
  • Video Subtitles and Full Transcripts
  • 1 Downloadable Resource
  • Accompanying Text-Based Tutorial
  • Interactive Quiz to Check Your Progress
  • Q&A With Python Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

About Arianne Dee

Arianne is a maker of many things, including software, sawdust, fabric scraps, and at least one person. She loves teaching about Python and Django from her basement on an island in Canada.

» More about Arianne

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

← Browse All Courses