Home >System Tutorial >Windows Series >How to configure python environment variables in Win11? Tips for adding environment variables in win11python

How to configure python environment variables in Win11? Tips for adding environment variables in win11python

WBOY
WBOYforward
2024-02-29 16:30:281274browse

The python environment variable configuration of Win11 system is one of the important steps in using python programming. PHP editor Baicao will introduce you in detail how to configure python environment variables in Win11 system, as well as the techniques for adding environment variables. Through this article, you will learn simple and quick steps to ensure that you can successfully configure python environment variables, making it easier for you to perform python programming work.

Win11怎么配置python环境变量? win11python添加环境变量的技巧

1. [Right-click] on the desktop, click this computer, and in the menu item that opens, select [Properties];

Win11怎么配置python环境变量? win11python添加环境变量的技巧

##2. Next, under related links, find and click [Advanced System Settings];

Win11怎么配置python环境变量? win11python添加环境变量的技巧

3. In the system properties window, click [Environment Variables] at the bottom;

Win11怎么配置python环境变量? win11python添加环境变量的技巧

4. In the environment variables window, under system variables, select [Path], and then click [Edit];

Win11怎么配置python环境变量? win11python添加环境变量的技巧##5 , edit the environment variable window, click [New], and then fill in [D:\Python312 (this is the installation path of Python)];

Win11怎么配置python环境变量? win11python添加环境变量的技巧Finally, open the command prompt (cmd), enter [python] and press Enter. If you see the python version, it means the environment configuration is successful.

Win11怎么配置python环境变量? win11python添加环境变量的技巧

The above is the detailed content of How to configure python environment variables in Win11? Tips for adding environment variables in win11python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete