更新时间:2023-02-26 18:43:44
除非使用virtualenv,否则必须使用sudo运行它.问题是您无权更改该模块.使用sudo,您授予管理员更新权限.
You have to run it with sudo unless you are using a virtualenv. The problem is that you don't have the permission to change that module. With sudo, you are giving administrator's permissions to update it.
sudo pip install --upgrade pip