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

Publié le: 24 avril 2023
sur la chaîne: 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).


Sur cette page du site, vous pouvez voir la vidéo en ligne 'python' is not recognized as an internal or external command | set python environment variable durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur WasiTechLearning 24 avril 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 77 fois et il a aimé 0 téléspectateurs. Bon visionnage!