I have seen this error before, and it is usually related to pandas link to the old version of numpy. But reinstalling may not help if your python path still points to the old version of numpy.
When you install numpy through pip, pip will tell you where it was installed. Something like
pip install numpy==1.9.2 Requirement already satisfied (use
So you have the correct version of numpy installed. But when you enter python
$ python Python 2.7.6 (default, Sep 9 2014, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.__file__ '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/__init__.pyc' >>> numpy.version.version '1.8.0rc1'
Your path may point to a different number.
The easiest solution I found for this is to simply uninstall the unnecessary version of numpy (by moving it to the _bak folder for security)
mv /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy_bak
And now when I run python
$ python Python 2.7.6 (default, Sep 9 2014, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.__file__ '/Library/Python/2.7/site-packages/numpy/__init__.pyc' >>> numpy.version.version '1.9.2'
I have the version I want.
For more complex workflows, when different applications may require different versions of different packages, virtualenvs is a great way to go http://docs.python-guide.org/en/latest/dev/virtualenvs/ . But I think for your case, when you just want pandas and numpy to play well, this approach should work fine.