• Register
1 vote
23 views

Problem:

I was about to start the python programming. Completed install everything needed but thee CMD encountered an error py is not recognized as an internal.
How to solve this problem? Could any of you please solve the problem and let me start learning?
Thanks, guys.

12 7 7
15,250 points

Please log in or register to answer this question.

1 Answer

1 vote

Solution:

The “Python is not recognized as an internal or external command” error is encountered when python’s executable file is not found in an environment variable. As a result windows CMD python command returns the error.

→  Find a folder with the installed Python version as its name in C:\Program Files\Python36(Assuming you are running a Windows OS)

→  Open this folder and copy its path.

→ Right-click This PC, then go to Properties => Advanced system settings => Environment variables.

→ In the window that appears when a path variable exists, select it, ​and click Edit; otherwise, click New.

→ In the next dialogue box, click on New and paste the previously copied path of the folder; then, click OK.

13 9 6
94,260 points

Related questions

0 votes
1 answer 2 views
2 views
Problem: Does anyone have a solution to the current issue? > Conda is not recognized as an internal or external command .
asked 5 days ago Isac Christiaan 9.6k points
0 votes
1 answer 9 views
9 views
Problem: This is starting to get aggravating. I'm getting the typical 'python' is not recognized as an internal or external command... message when trying to run python on the command line. This is a common issue, and I've found plenty of posts saying to fix it by ... create a virtual environment: virtualenv --python=python3.6.3 <env-name> I'm using: OS: Windows 10 Pro. Anaconda Version: 1.8.2
asked May 3 Yeamin 22k points
1 vote
1 answer 11 views
11 views
Problem: I am trying to get nodejs but having this issue: 'NPM' is not recognized as an internal or external command.
asked May 1 PkGuy 23.5k points
1 vote
1 answer 14 views
14 views
Problem: After I was checking the current version of Java I got this error: Java is not recognized as an internal command windows 10.
asked Apr 27 PkGuy 23.5k points
0 votes
1 answer 12 views
12 views
Problem: I am getting this error> Svn is not recognized as an internal or external command.
asked Apr 26 PkGuy 23.5k points
1 vote
1 answer 4 views
4 views
Problem: I am recieving this error in Java: 'java' is not recognized as an internal or external command.
asked Apr 25 PkGuy 23.5k points
1 vote
1 answer 5 views
5 views
Problem: Any solution to this? 'java' is not recognized as an internal or external command,
asked Apr 25 PkGuy 23.5k points
0 votes
1 answer 7 views
7 views
Problem: Following instructions found here (and elsewhere) I added '%USERPROFILE%\AppData\Roaming\Python\Python37\Scripts\aws' to Path (tried with and without \aws at the end).I clicked OK everywhere and restartet the CLI, but I am still getting "'aws' is not recognized as ... file." when typing aws at the command prompt (I restarted it after the path update). Any ideas what I might be missing?
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 11 views
11 views
Problem: FFmpeg is installed in C:\FFmpeg, and I put C:\FFmpeg\bin in the path. Does anyone know how to fix? Thanks!
asked Apr 24 Humaira ahmed 50.7k points
0 votes
1 answer 8 views
8 views
Problem: When I run this: protoc --python_out=. .\object_detection\protos\anchor_generator.proto on a tensorflow object detection file on the command line, I get: 'protoc' is not recognized as an internal or external command, operable program or batch file. I followed ... But it still fails and this: C:\Users\laptop market\Downloads\bin\protoc object_detection/protos/*.proto --py_out=. also fails.
asked Apr 24 Humaira ahmed 50.7k points