Cant find python through command prompt

When talking about things that you typed or saw in a terminal, please make sure to use code formatting so that everyone can see it clearly. Use single backticks for a short, single line in the middle of your paragraph. For a longer block, read the pinned thread to understand code formatting properly.

This error message proves that you did not put a space between python and --version, like so: python --version. (If the problem was with finding Python, then the error would only say python, not python--version.) The space is required. python is the name of the program; --version is a command-line argument - information that you are providing to Python, to tell it what to do (in this case, tell you the Python version number, instead of running any code).