I'm trying to update numpy from version 1.6.2 to 1.8.1. My first attempt was to do
sudo pip uninstall numpy
and then install it again with pip. But when I check the version I get the old one:
import numpy as np
np.__version__
'1.6.2'
Then, I tried to
sudo easy_install -U numpy
but I get an error: RuntimeError: Broken toolchain: cannot link a simple C program
The path to the numpy version I use is: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy
So, is the solution to manually install (from source) the desired version of Numpy or is there a way to use pip or easy_install?