I am trying to install matplotlib but facing many problems. I am receiving a common error from both pip install matplotlib as well as trying to build from source which is:
BUILDING MATPLOTLIB
matplotlib: 1.1.1
python: 2.7.2 (default, Jun 20 2012, 16:23:33) [GCC 4.2.1
Compatible Apple Clang 4.0
(tags/Apple/clang-418.0.60)]
platform: darwin
REQUIRED DEPENDENCIES
numpy: 1.6.1
* Could not find the headers for numpy. You may
* need to install the development package.
EDIT: Solved it finally. I needed to install gfortran and gcc compilers. Did it using brew and everything worked like a charm!
Solved it finally. I needed to install gfortran and gcc compilers. Did it using brew and everything worked like a charm!