'python' is not recognized as an internal or external command | set python environment variable

Published: 24 April 2023
on channel: WasiTechLearning
77
0

To add Python to the PATH environment variable in Windows 10, follow these steps:

1. Open the Start menu and search for "Environment Variables". Click on "Edit the system environment variables".
2. In the System Properties window, click on the "Environment Variables" button.
3. Under "System Variables", scroll down and find the "Path" variable. Select it and click on "Edit".
4. Click on "New" and add the path to your Python installation directory. The default installation directory for Python 3.x is "C:\Python3x\" (replace "x" with the version number). If you installed Python in a different location, enter that path instead.
5. Click "OK" to close all the windows and save the changes.
6. To check if Python is recognized, open a Command Prompt window and type "python". If Python is installed and added to the PATH correctly, you should see the Python interpreter launch in the Command Prompt.

If you are still having trouble, make sure that you have installed #Python correctly and that you have the correct version of Python for your system architecture (32-bit or 64-bit).


On this page of the site you can watch the video online 'python' is not recognized as an internal or external command | set python environment variable with a duration of hours minute second in good quality, which was uploaded by the user WasiTechLearning 24 April 2023, share the link with friends and acquaintances, this video has already been watched 77 times on youtube and it was liked by 0 viewers. Enjoy your viewing!