下载地址
https://www.python.org
下一步同时下载python3/python2
安装点下一步即可
安装python3记得选中path
将path的python3的目录选中粘贴在C盘目录下
修改环境变量如下图将python2的环境变量添加到%-APPs之前
修改python.exe为python3.exe删除Scripts 中的pip.exe
如此就安装完成了如下
pip报错
C:\Users\administrator>python -m pip install -U pip
Requirement already satisfied: pip in c:\python\python310\lib\site-packages (22.2.1)
Collecting pip
Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
---------------------------------------- 2.0/2.0 MB 12.5 kB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.2.1
Uninstalling pip-22.2.1:
Successfully uninstalled pip-22.2.1
Successfully installed pip-22.2.2
C:\Users\administrator>pip -v
利用 python -m pip install -U pip更新即可
标签:exe,python,配置,22.2,pip,2.0,安装,python3 From: https://www.cnblogs.com/llhhcc/p/16626117.html