I tried to run my code by typing 'python name.py' in the CMD but it says: 'python' is not recognized as an internal or external command, operable program or batch file.
Asked
Active
Viewed 317 times
-1
-
You haven't installed python correctly then. You'll need to add the interpreter to your path. – Carcigenicate Nov 05 '19 at 17:54
3 Answers
0
You have to add the path to your python executable folder in the enviroment variables just search for enviroment variables and add the path ..

VIKI
- 181
- 3
0
You can reinstall python on your machine and check add to path.
Or see how to add to your path according to another answer that already exists here in the forum:
How to add to the PYTHONPATH in Windows, so it finds my modules/packages?

lucas
- 79
- 6