------------只要够努力,人生最坏的结局不过是大器晚成!!!

转载于:https://blog.csdn.net/cxs123678/article/details/80659273

 

再安装包的时候提示

You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
1
2
而我按照要求运行python -m pip install --upgrade pip 后仍然无法成功升级,提示如下:

(venv) D:\Fish>python -m pip install --upgrade pip
Requirement already up-to-date: pip in d:\fish\venv\lib\site-packages (10.0.1)
1
2
于是按照要求将d:\fish\venv\lib\site-packages (10.0.1) 中的pip-10.0.1.dist-info删除,再次运行python -m pip install --upgrade pip 后升级成功,之前不能安装的包也能安装了!
 

posted on 2018-10-18 12:52  ystraw  阅读(911)  评论(0编辑  收藏  举报

不经一番切孤寒,怎得梅花扑鼻香