Python is Not Recognized as an Internal or External Command || how to fix



Interested in Robotics Engineering?👇
-Top 3 courses to take to become a Robotics Software engineer:
-Top 3 Robotic Programming Languages in 2020?
——-
Step by step instructions to fix “Python is not recognized as an internal or external command” error.

📚 Best Python Books for Beginners:

Other useful videos you should check out:

1- Top 5 Courses to take to Become a Robotics Engineer

2- Top 3 Programming Skills to learn to become a Robotics Software Engineer

3- Top 3 programming languages for Robotics

——————————–
U Love Robotics? Show off your Love wearing these T-Shirts and Hoodies

—————-
Support my Channel & Get Early Access to my contents for only $1 per month.

—————————————
follow me:

——————————————-
Setting environment variablesWindows has a built-in dialog for changing environment variables (for windows 10 see: Right-click the icon for your machine (usually located on your Desktop and called “My Computer”) and choose Properties there. Then, open the Advanced tab and click the Environment Variables button.

In short, your path is:

My Computer ‣ Properties ‣ Advanced ‣ Environment Variables

In this dialog, you can add or modify User and System variables. To change System variables, you need non-restricted access to your machine (i.e. Administrator rights).

Another way of adding variables to your environment is using the set command:

set PYTHONPATH=%PYTHONPATH%;C:My_python_lib

To make this setting permanent, you could add the corresponding command line to your autoexec.bat. msconfig is a graphical interface to this file.

Viewing environment variables can also be done more straight-forward: The command prompt will expand strings wrapped into percent signs automatically:

————————-
#python #pythonProgramming

Nguồn: https://svdpch.org/

Xem thêm bài viết khác: https://svdpch.org/cong-nghe/

43 thoughts on “Python is Not Recognized as an Internal or External Command || how to fix”

  1. Hi I followed what you did and it didn't fix it. I am getting python not recognized as internal or external command

    Reply
  2. Hallo I love Robotics! I did it once and the retry and immediately worked, but..! I made another code and puffff! same error again and this time I could not solve it your way! 🙁 Im just learning this kind of things, so it would be very good for me not to have this kind of errors that are not even depending on what I do but in the system, how can I do this well? Please HELP- ME 😀 THANK YOU!!!

    Reply

Leave a Comment