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

What is the use of setting environment variables in python?

藏色散人
Release: 2019-10-29 10:15:27
Original
3483 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template