Home > Backend Development > Python Tutorial > How to add environment variables when installing python

How to add environment variables when installing python

步履不停
Release: 2019-07-03 10:55:02
Original
25362 people have browsed it

How to add environment variables when installing python

Environment variable configuration:

Method 1: Use cmd command to add path environment variable

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

                                                                                                                                                                                                                                                                                     to

Method 2: Add the Python directory to the environment variable

(1) Right-click "Computer" and click "Properties"

(2) Then click "Advanced System" 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 ";"!

              How to add environment variables when installing python

                                                                                                                                                                                                    ’ to ’ to ’s ’ to ’s ’ it ’s             out out out out out out out‐ out out‐‐‐‐‐‐‐‐‐‐‐ ‐ ‐ ‐ ‐ ‐ ‐ 1

How to add environment variables when installing python

Recommended related tutorials: Python video tutorial

The above is the detailed content of How to add environment variables when installing 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