Does python need to configure environment variables?

步履不停
Release: 2019-07-27 09:46:41
Original
13441 people have browsed it

Does python need to configure environment variables?

The method for python to configure environment variables is as follows:

Method 1: Use the cmd command to add the path environment variable

Enter under cmd: path= %path%;D:\Python27 Then press the "Enter" key.

to

Method 2: Add the Python directory to the environment variable Set "

(3) Select "Path" under the "System Variables" window and double-click it!

(4) Then in the "Path" line, add the python installation path (my D:\Python27). ps: Remember, the path is directly separated by a semicolon ";"!

# (5) After the final settings are successful, enter the command line in the CMD command line and enter the command "Python" to have a related display.

Does python need to configure environment variables?

Recommended related tutorials:

Python video tutorialDoes python need to configure environment variables?

The above is the detailed content of Does python need to configure environment variables?. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!