I am windows 64bit user. I use python3 installed via Anaconda package. I am trying to run python script through command prompt and Git bash but I keep getting error while running .py file. Type of error
In command prompt:
"python" is not recognized as internal or external command, operable program, or batch file.
In Git Bash:
bash: python: command not found
I added the path of python to the system variable in the environment variables. The path I added is:
C:\Users\krishna\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\C:\Python3\
I found the path by typing python in the cortana search bar and opened the location and copied it. Then I checked th path in cmd by typing PATH but it didnt return new added path (python). Same way I also added path of my script to the system variable.
I searched around but couldn't solve it. Please if anyone can suggest some solution. Thank you for your time.