码迷,mamicode.com
首页 > Windows程序 > 详细

When install ”matplotlib” with ”pip”, if you get the following error, it means the “freetype” and “png” libraries needed by matplotlib are not installed:

时间:2016-04-08 20:00:47      阅读:405      评论:0      收藏:0      [点我收藏+]

标签:

============================================================================

                        * The following required packages can not be built:

                        * freetype, png

So install them:

apt-cache search freetype | grep dev
apt-cache search libpng | grep dev
sudo apt-get install libfreetype6-dev libpng12-dev
pip install matplotlib

Done.

 

When install ”matplotlib” with ”pip”, if you get the following error, it means the “freetype” and “png” libraries needed by matplotlib are not installed:

标签:

原文地址:http://www.cnblogs.com/qqhfeng/p/5369595.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!