pip install psutil出错-You are using pip version 10.0.1, however version 18.0 is available.

时间:2023-03-09 01:38:59
pip install psutil出错-You are using pip version 10.0.1, however version 18.0 is available.

今天想用python代替shell做运维相关的事,写代码都是在本机,调试在服务器上

C:\Users\0>pip install psutil
Requirement already satisfied: psutil in f:\programdata\anaconda3\lib\site-packa
ges (5.4.5)
distributed 1.21.8 requires msgpack, which is not installed.
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.
解决方案:

python -m pip install --upgrade pip  更新pip