pip更新常用命令
python -m pip install -U pip python -m pip install --upgrade pip
升级失败,提示如下信息
pip install -U pip==23.0.1 AttributeError: 'NoneType' object has no attribut
使用如下命令更新pip
easy_install -U pip
提示如上图信息,成功更新完成