Answers for "'py' is not recognized as an internal or external command, operable perror"

8

'python3' is not recognized as an internal or external command,

There is no python3.exe file, that is why it fails.

Try:

py

instead.

py is just a launcher for python.exe. If you have more than one python versions installed on your machine (2.x, 3.x) you can specify what version of python to launch by

py -2 or py -3
Posted by: Guest on March-28-2020
-1

python is not recognized as an internal or external command when running script

If when executing the python program you get this error, simply replace the word "python" with "py"
Instead of python first.py
Write py first.py
Posted by: Guest on April-11-2021

Code answers related to "'py' is not recognized as an internal or external command, operable perror"

Python Answers by Framework

Browse Popular Code Answers by Language