How to configure python environment variables

coldplay.xixi
Release: 2023-01-03 09:29:01
Original
175711 people have browsed it

How to configure python environment variables: First, right-click this computer and select Properties; then click Advanced System Settings, click Environment Variables; then click path to edit, and add the python installation path to the path; finally click Sure.

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. The first step is to right-click this computer on our computer, select Properties, and after entering, click Advanced System Settings , as shown in the figure below:

How to configure python environment variables

2. After entering the second step, click on the environment variables, as shown in the figure below:

How to configure python environment variables

3. In the third step, after entering the environment variable interface, click path to edit, as shown in the figure below:

How to configure python environment variables

4. In the fourth step, in the path Add the installation path of python, here is F:\Install\python3.7\. It should be noted that if you have pip to install a third-party library, you need to add F:\Install\python3.7\Scripts\ to the variable. As shown in the figure below:

How to configure python environment variables

5. Step 5: After clicking OK to save the environment variable configuration, open the command prompt, enter python, and press Enter to see the python version , indicating that the environment variables are configured successfully, as shown in the following figure:

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!