Path — How To Add Python To

You open your command prompt (Command Prompt on Windows, Terminal on macOS/Linux), type python --version , and get slapped with an error:

Without this, you would have to type the full installation path (e.g., C:\Python312\python.exe ) every time you want to run a script. how to add python to path

The paths were entered. The directory was updated. But the command prompt window was still open from before. It was holding onto the old map. You open your command prompt (Command Prompt on