Python Install libraries
Installing numpy, scipy, matplotlib and Basemap on Mac OS X can be challenging.
Installation using homebrew
This installation path should work for all versions of Mac OS X, because every library involved is self-compiled.
Common pitfalls
- Make sure you have no other version of gcc installed. Check the output of
which gcc
- to make sure to use the system compiler.
- Do not mix pre-compiled and self-compiled libraries.