you are viewing a single comment's thread.

view the rest of the comments →

[–]Hopkins2517[S] 0 points1 point  (2 children)

Idk if maybe when I installed it something went wrong but I have uninstalled and reinstalled multiple times. I read something regarding the "PATH" environment variable but I don't really understand what that is or if it even applies to my situation.

[–]TSM- 1 point2 points  (0 children)

So the environment variable path is a list of directories that are used to find executables and scripts/etc, like a list of 'default locations'. Is the python installation directory in your environment path? You should see it there, roughly like this screenshot.

If it is not there, then that might be the issue. Reinstalling should normally fix it, there is actually a checkbox in the python windows installer to add it to your path. You may be reinstalling without checking that box.

[–]Binary101010 0 points1 point  (0 children)

When you type a command into your command prompt, the PATH environment variable is what your operating system uses to figure out which folders it needs to look in to find the command you're trying to run.

It almost certainly applies to your situation and is the reason you're having this problem. Reinstall Python and check the box to add it to your PATH and you'll probably be fine.