1、问题描述:
/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
Matplotlib版本:
2、解决办法:
sudo apt-get install libfreetype6-dev libxft-dev
PS:FreeType项目是一个志愿者团队,他们为数字排版开发免费,便携和高质量的软件解决方案。 它们专门针对嵌入式系统,专注于提供小巧,高效和无处不在的产品。 该软件包包含使用FreeType 2库开发自己的程序所需的所有补充文件(静态库,标题和文档)。
3、参考:
http://www.itkeyword.com/doc/5916265884786291702/matplotlib-taking-time-when-being-imported