Thanks Mike!

 yum-builddep python-matplotlib


did not fix the problem but installing  the headers did the trick:

sudo yum install libpng-devel


It installed successfully now :)

Rad



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41026.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to