@Bowsertime28 What happens when you try to add --version
at the end of the above commands? I.E. python --version
or py --version
? If those all result in a syntax error, it likely means you didn’t add Python to your environment path during installation. Here are the easiest ways to do so:
If you try to reinstall Python (using the executable installer from the website), you should see the following screen:
At the bottom, tick the checkbox next to “Add Python 3.8 to PATH” and proceed with the installation; that should fix the issue with it not launching from the command line.
Otherwise, a more simple solution would be to install Python from the Windows store. That’s typically the easiest way to install it on Windows, and what I recommend to most users (especially beginners).
We also have a dedicated page in the documentation for installation and general usage tips for Python on Windows. See https://docs.python.org/3/using/windows.html. If the none of the above steps work, I would recommend checking that out.