Error when installing matplotlib I tried to install matplotlib on OS X Lion with the pip install command, but I get the following error: 

error: command 'clang' failed with exit status 1


Does anyone have a solution?
matplotlib is part of the python 2.7 installed with El Capitan, no need to install it.