Upgrade to numpy 1.8.0 on Ubuntu 12.04

南楼画角 提交于 2019-11-30 06:40:05
sudo pip install numpy --upgrade

will do the same thing with slightly less effort.

Gabriel

Ok, so I tried:

pip uninstall numpy

which returned:

Successfully uninstalled numpy

So then I did:

pip install numpy

but it said:

Requirement already satisfied (use --upgrade to upgrade): numpy in /home/gabriel/.local/lib/python2.7/site-packages
Cleaning up...

so apparently it was still there. I removed the contents of that folder and then I simply did:

sudo pip install numpy

This worked like freaking magic. Now I have NumPy 1.8.0, SciPy 0.12.0, Matplotlib 1.2.1 installed and everything is running like it should.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!