I am using the virtualenvwrapper and am installing this in a new virtualenv.
I also tried installing it locally but failed with the same error:
/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594:
warning: ‘int _import_array()’ defined
Also when installing it locally NOT using pip, it worked
sudo yum install python-matplotlib
I do want to install it into my virtualenv however.
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplo
I was able to install everything with pip except for sqlite and matplotlib.
Downloading/unpacking matplotlib
Downloading matplotlib-1.2.1.tar.gz (38
Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "licens
Try --
yum install freetype-devel
This installed successfully.
Or as a shortcut to get all of the build dependencies installed:
yum-builddep python-matplotlib
This ended with:
(mandala)[webalert@localhost ~]$ sudo yum-builddep python-matplotlib
[sudo] password for webalert:
Loaded plug
Anything else I can try to get this going? Is the OS the problem? I am using
CentOS x64 6.4 Final
--
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-tp41007p41023.html
Sent from the
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