How to Add Python Installation location to Path Environment Variable in Windows Laptop Computer
In this tutorial, we are going to learn the way to add the set up location of Python to the trail setting variable. When putting in Python, there may be an choice to add it to the trail setting variable, however it isn’t chosen by default. If this selection shouldn’t be checked, the Python installer won’t add the set up location to the trail variable.
To discover the Python set up location, navigate to the folder the place Python is put in (in this case, it’s in the C drive below Users, then your username). In the AppData folder, find the Programs folder, then the Python folder (e. g. , Python39). Copy the trail from the handle bar.
Next, open the System Properties window by trying to find “environment variables” in the start menu. In the System Variables part, discover the “Path” variable, click on “Edit,” then “New. ” Paste the copied path and add a backslash on the finish. Click exterior, then add one other new path with “scripts” added on the finish.
This course of provides the Python set up and scripts folder areas to the trail setting variable, permitting you to entry Python from any folder. To confirm the setup, open the command immediate and kind “python –version” to verify the Python model.
If you have got any questions or suggestions, be at liberty to depart a remark. For extra tutorials, subscribe to the channel. Thank you for watching!
Download and Install Python
Our Social Media Pages
https://www.facebook.com/ExampleProgram
Tweets by ExampleProgram
https://www.Instagram.com/example_program
Our Website
https://www.ExampleProgram.com
#ExampleProgram
source