python pip更新
D:\python>python -m pip list
Package Version
---------- -------
pip 23.1.2
setuptools 65.5.0
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
D:\python>python.exe -m pip install --upgrade pip
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: pip in d:\python\lib\site-packages (23.1.2)
Collecting pip
Downloading https://mirrors.aliyun.com/pypi/packages/50/c2/e06851e8cc28dcad7c155f4753da8833ac06a5c704c109313b8d5a62968a/pip-23.2.1-py3-none-any.whl (2.1 MB)
---------------------------------------- 2.1/2.1 MB 369.0 kB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.1.2
Uninstalling pip-23.1.2:
Successfully uninstalled pip-23.1.2
WARNING: The scripts pip.exe, pip3.11.exe and pip3.exe are installed in 'D:\python\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-23.2.1
D:\python>python.exe -V
Python 3.11.4
D:\python>python -m pip -V
pip 23.2.1 from D:\python\Lib\site-packages\pip (python 3.11)
D:\python>