Home  >  Article  >  Backend Development  >  Basic steps to set environment variables in python

Basic steps to set environment variables in python

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-06-14 18:07:003657browse

How to set environment variables in python?

Related recommendations: "python Video"

Basic steps to set environment variables in python

##Basic steps for setting environment variables in python:

Computer--right-click--Properties

Basic steps to set environment variables in python

Find "Advanced System Settings" in the left column

Basic steps to set environment variables in python

Click "Environment Variables"

Basic steps to set environment variables in python

In the system variables, find Path, double-click

then add a semicolon at the end of the string;

Then enter the path where you installed python, as shown in the picture

Basic steps to set environment variables in python

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

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

Basic steps to set environment variables in python

The above is the detailed content of Basic steps to set 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