Home>Article>Backend Development> How to configure python environment variables

How to configure python environment variables

coldplay.xixi
coldplay.xixi Original
2021-03-23 16:19:23 72498browse

How to configure python environment variables: first open the properties and find "Advanced System Settings"; then click "Environment Variables" and find Path; then add a semicolon at the end of the string and enter the path to install python ;Finally click OK.

How to configure python environment variables

The operating environment of this tutorial: Windows 7 system, python version 3.9, DELL G3 computer.

How to configure python environment variables:

1. Computer--right-click--Properties

How to configure python environment variables

2 . Find "Advanced System Settings" in the left column

How to configure python environment variables

3. Click "Environment Variables"

How to configure python environment variables

4. In the system variables, find Path and double-click

How to configure python environment variables

5. At the end of the string, add a semicolon;

and then Enter the path where you installed python, as shown in the picture

How to configure python environment variables

6. Click OK all the way, OK until the setting is completed

Open the command line and enter python, The configuration is successful when the following prompt appears

How to configure python environment variables

##Related free learning recommendations:python video tutorial

The above is the detailed content of How to configure python environment variables. 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