Home > Article > Backend Development > What is the use of setting environment variables in python?
#What is the use of setting environment variables in python?
1. To set environment variables, you can find the python command in the cmd command line;
2. To set environment variables, you can find the corresponding python version path when installing the third package of exe. ;
3. Set environment variables to find the path when using pip install package.
In short. Python sets environment variables to run scripts directly from the command line. Many IDEs also require you to preset python environment variables, otherwise your python parser will not be found.
Recommended: "python tutorial"
The above is the detailed content of What is the use of setting environment variables in python?. For more information, please follow other related articles on the PHP Chinese website!