How to solve the problem that python is not an internal or external command or a runnable program or batch file?
This article mainly explains the "python is not an internal or external command is not a runnable program or batch file problem how to solve", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "python is not an internal or external command is not a runnable program or batch file problem how to solve" it!
Problem description
Cause analysis
Add Python 3.9 to PATH is not checked when installing Python
Solution one
Uninstall and reinstall, remember to check Add Python 3.9 to PATH when reinstalling
Option 2
The translation of Add Python 3.9 to PATH means to add Python to the environment variable. Since it was not added during installation, we can add it manually.
1. Right-click the computer and click Properties
2. Click Advanced system Settings
3. Click the environment variable
4. Double-click Path in the user variable
5. Click New, add your Python installation path and the Scripts path under the installation path, and finally click OK.
Thank you for your reading, the above is the "python is not an internal or external command is not a runnable program or batch file problem how to solve" the content, after the study of this article, I believe you are not an internal or external command is not a runnable program or batch file problem how to solve this problem has a deeper understanding, the specific use of the need for you to practice verification. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!