Skip to content Skip to sidebar Skip to footer

Upgrade To Numpy 1.8.0 On Ubuntu 12.04

I'm running Ubuntu 12.04 which comes by default with NumPy 1.6.0 (I have, actually had, Python 2.7.3 installed). As a result of the answer to this question polyfit() got an unexpec

Solution 1:

sudo pip install numpy --upgrade

will do the same thing with slightly less effort.

Solution 2:

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.

Post a Comment for "Upgrade To Numpy 1.8.0 On Ubuntu 12.04"