pip升级遇到的坑

2019-04-29  本文已影响0人  鹏_19e9

1. 在用pip下载requests 提示pip版本太旧需要升级

2.输入 python -m pip install -U pip

错误提示:You are using pip version 9.0.1, however version 19.1 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.

3.输入 python -m pip install --upgrade pip

还出现同样错误提示

4. 没办法,卸载pip:https://pypi.org/project/pip/#files下载压缩文件解压后

python setup.py install

5.查看pip: pip show pip 

上一篇下一篇

猜你喜欢

热点阅读