I want to use matplotlib.pyplot. I can not because
altoidnerd@LEPTON :~/ $ pip install matplotlib
does not work on ubuntu 14, giving an egg_info error, and the warning "cannot create batch freetype"
* The following required packages can not be built: * freetype ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8UvQcW/matplotlib
But
altoidnerd@LEPTON :~/$ dpkg -L libfreetype6 /. /usr /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libfreetype.so.6.11.1 /usr/share /usr/share/doc /usr/share/doc/libfreetype6 /usr/share/doc/libfreetype6/FTL.TXT.gz /usr/share/doc/libfreetype6/ft2faq.html /usr/share/doc/libfreetype6/TODO /usr/share/doc/libfreetype6/copyright /usr/share/doc/libfreetype6/changelog.Debian.gz /usr/share/doc/libfreetype6/pcf /usr/share/doc/libfreetype6/pcf/README /usr/lib/x86_64-linux-gnu/libfreetype.so.6
my debug.log is here: http://pastebin.com/rvDuYDiy
The discussion on this issue on github was closed last year, but I could not use it to solve the problem (I left a note):
https://github.com/matplotlib/matplotlib/issues/3029
I started reddit thread .
source share