Home  >  Article  >  Backend Development  >  What is the use of setting environment variables in python?

What is the use of setting environment variables in python?

藏色散人
藏色散人Original
2019-10-29 10:15:273318browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn