首页 > 代码库 > you should consider upgrading via the 'python -m pip install --upgrade pip'

you should consider upgrading via the 'python -m pip install --upgrade pip'

在安装python模块PyH时总是提示需要升级pip,于是按照提示输入:

python -m pip install --upgrade pip

还是不行,有人说要用管理员权限执行cmd,结果还是失败,

最后使用

pip install --user --upgrade pip

(ps:如果不成功可以先试下pip install --upgrade setuptools)

升级成功

看看pip版本

pip --version

pip 9.0.1 from …………

结果安装PyH时却提示么有找到PyH,却有个PyH2,看了下和PyH一样的

you should consider upgrading via the 'python -m pip install --upgrade pip'