第一步:确定python的安装路径

1,在全部应用里面再到python

python write 添加 python怎么添加_环境变量

 

2,鼠标右键,选择打开文件所在位置,就可以进入python的安装位置了

 

python write 添加 python怎么添加_python_02

python write 添加 python怎么添加_系统设置_03

 

3,复制python的安装路径

python write 添加 python怎么添加_python_04

 

 第二步:添加环境变量

2.1,打开文件资源管理,在此电脑上点击鼠标右键,选择属性

python write 添加 python怎么添加_环境变量_05

 

 2.2,在系统设置中的右上角,选择高级系统设置

python write 添加 python怎么添加_python_06

 

2.3,选择环境变量

python write 添加 python怎么添加_环境变量_07

 

python write 添加 python怎么添加_环境变量_08

 

python write 添加 python怎么添加_环境变量_09

 

python write 添加 python怎么添加_python_10

 

 3.1添加python中的pip环境变量

1,回到第一步的第二小节,并选择scripts

 

python write 添加 python怎么添加_python_11

2,复制该目录路径

python write 添加 python怎么添加_系统设置_12

 

 

 3,再次回到2.3的最后一步,将路径复制到该位置

python write 添加 python怎么添加_python_13

 

 4,点击确定

 

python write 添加 python怎么添加_python_14

 

python write 添加 python怎么添加_环境变量_15

 

 以上就是环境变量配置的全部过程了,其他环境变量的配置与此类似.