在对pip进行升级时,

python install --upgrade named pip

出现了No module named 'pip'操作,使用下述代码解决问题:

python -m ensurepip

相关文章: