Had an issue after upgrading QGIS. For some reason it was picking up an older version of numpy
and throwing the error:
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
Turns out the system python had an old version of numpy
installed. To figure this out:
$ /usr/bin/python
Python 2.7.10 (default, Feb 7 2017, 00:08:15)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin