How to set environment variables in python?
Related recommendations: "python Video"

##Basic steps for setting environment variables in python:
Computer--right-click--Properties

Find "Advanced System Settings" in the left column

Click "Environment Variables"

In the system variables, find Path, double-click
then add a semicolon at the end of the string;
Then enter the path where you installed python, as shown in the picture

Click OK all the way, OK until the setting is completed
Open the command line and enter python, if the following prompt appears, the configuration is successful

The above is the detailed content of Basic steps to set environment variables in python. For more information, please follow other related articles on the PHP Chinese website!