今天在Ubuntu下尝试安装Python的一些机器学习相关学习的库,使用pip命令提示:
You are using pip version 8.1.1, however version 9.0.1 is available.
使用pip install –upgrade pip命令报错为:
Requirement already up-to-date: pip in ./anaconda2/lib/python2.7/site-packages
解决方法:
使用一下命令行解决:
sudo -H pip install –upgrade pip