pip安装 matplotlib 时问题记录
2017-12-11 00:33
405 查看
在使用
通过baidu,找到个解决办法
pip install matplotlib时遇到如下问题:
root@RaspberryPi:/Pedro/Code# pip install -U matplotlib -i http://pypi.douban.com/simple --trusted-host pypi.douban.com Collecting matplotlib Downloading http://pypi.doubanio.com/packages/6c/90/cf10bb2020d2811da811a49601f6eafcda022c6ccd296fd05aba093dee96/matplotlib-2.1.0.tar.gz (35.7MB) 100% |████████████████████████████████| 35.7MB 2.3MB/s Complete output from command python setup.py egg_info: Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [2.1.0] python: yes [2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609]] platform: yes [linux2] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.11.0] six: yes [using six version 1.10.0] dateutil: yes [using dateutil version 2.4.2] backports.functools_lru_cache: yes [backports.functools_lru_cache was not found. It is required forPython versions prior to 3.2] subprocess32: yes [subprocess32 was not found. It used for Python versions prior to 3.2 to improves functionality on Linux and OSX] pytz: yes [using pytz version 2014.10] cycler: yes [using cycler version 0.9.0] tornado: yes [tornado was not found. It is required for the WebAgg backend. pip/easy_install may attempt to install it after matplotlib.] pyparsing: yes [using pyparsing version 2.0.3] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: no [The C/C++ header for freetype2 (ft2build.h) could not be found. You may need to install the development package.] png: no [pkg-config information for 'libpng' could not be found.] qhull: yes [pkg-config information for 'libqhull' could not be found. Using local copy.] OPTIONAL SUBPACKAGES sample_data: yes [installing] toolkits: yes [installing] tests: no [skipping due to configuration] toolkits_tests: no [skipping due to configuration] OPTIONAL BACKEND EXTENSIONS macosx: no [Mac OS-X only] qt5agg: no [PySide2 not found; PyQt5 not found] qt4agg: no [PySide not found; PyQt4 not found] gtk3agg: yes [installing, version 3.9.18] gtk3cairo: yes [installing, version 3.9.18] gtkagg: no [The C/C++ header for gtk (gtk/gtk.h) could not be found. You may need to install the development package.] tkagg: yes [installing; run-time loading from Python Tcl / Tk] wxagg: yes [installing, version 3.0.2.0] gtk: no [The C/C++ header for gtk (gtk/gtk.h) could not be found. You may need to install the development package.] agg: yes [installing] cairo: yes [installing, pycairo version 1.8.8] windowing: no [Microsoft Windows only] OPTIONAL LATEX DEPENDENCIES dvipng: no ghostscript: yes [version 9.18] latex: no pdftops: yes [version 0.41.0] OPTIONAL PACKAGE DATA dlls: no [skipping due to configuration] ============================================================================ * The following required packages can not be built: * freetype, png * Try installing freetype with `apt- * get install libfreetype6-dev` * Try installing png * with `apt-get install libpng12-dev` Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-LuoeNd/matplotlib/
通过baidu,找到个解决办法
apt-get install libfreetype6-dev libxft-dev
相关文章推荐
- 安装Python-Matplotlib时出现的问题--Python version 2.7 required, which was not found in the registry
- matplotlib安装问题
- python知识(4)----Ubantu14.04 下pip安装Numpy,SciPy和MatplotLib
- python matplotlib安装问题解决方案
- pip matplotlib 安装出错
- python2.7安装Matplotlib相关问题
- CentOS 7 (Fedora EPEL 7) 下安装python3.6 matplotlib显示问题
- Python——解决Matplotlib安装问题
- 在Pyhon中通过pip方式安装numpy、matplotlib、scipy、Scikit-learn包
- Centos7 安装 matplotlib问题
- 在win7下安装python开发环境和numpy,scipy,matplotlib模块的问题
- 在windows下python,pip,numpy,scipy,matplotlib的安装
- Windows下安装Python和matplotlib遇到的问题及解决方案
- Python 安装Numpy,Scipy,Matplotlib-pip+whl文件
- Linux入门(10)——Ubuntu16.04使用pip3和pip安装numpy,scipy,matplotlib等第三方库
- 安装matplotlib遇到的问题
- Windows7下Python安装Numpy、Matplotlib以及Scipy时出现的问题以及解决办法
- 【利用python进行数据分析-学习记录】python-matplotlib中Basemap插件的安装
- 在windows下python,pip,numpy,scipy,matplotlib的安装
- python实践系列之(一)安装 python/pip/numpy/matplotlib