binder-project / binder

reproducible executable environments

Home Page:http://mybinder.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matplotlib pip dependency freetype is missing

boltomli opened this issue · comments

Try the repo boltomli/ThinkDSP, use pip install -r requirements.txt

Part of the log below:

2015-11-24 05:09:07,680 INFO: - App: Collecting matplotlib==1.5.0 (from -r requirements.txt (line 14))
2015-11-24 05:09:08,154 INFO: - App: Downloading matplotlib-1.5.0.tar.gz (54.0MB)
2015-11-24 05:09:20,765 INFO: - App: Complete output from command python setup.py egg_info:
2015-11-24 05:09:20,768 INFO: - App: IMPORTANT WARNING:
2015-11-24 05:09:20,771 INFO: - App: pkg-config is not installed.
2015-11-24 05:09:20,776 INFO: - App: matplotlib may not be able to find some of its dependencies
2015-11-24 05:09:20,778 INFO: - App: ============================================================================
2015-11-24 05:09:20,780 INFO: - App: Edit setup.cfg to change the build options
2015-11-24 05:09:20,782 INFO: - App:
2015-11-24 05:09:20,785 INFO: - App: BUILDING MATPLOTLIB
2015-11-24 05:09:20,787 INFO: - App: matplotlib: yes [1.5.0]
2015-11-24 05:09:20,788 INFO: - App: python: yes [2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May
2015-11-24 05:09:20,792 INFO: - App: 28 2015, 17:02:03) [GCC 4.4.7 20120313 (Red Hat
2015-11-24 05:09:20,794 INFO: - App: 4.4.7-1)]]
2015-11-24 05:09:20,798 INFO: - App: platform: yes [linux2]
2015-11-24 05:09:20,800 INFO: - App:
2015-11-24 05:09:20,802 INFO: - App: REQUIRED DEPENDENCIES AND EXTENSIONS
2015-11-24 05:09:20,804 INFO: - App: numpy: yes [version 1.9.2]
2015-11-24 05:09:20,806 INFO: - App: dateutil: yes [using dateutil version 2.4.2]
2015-11-24 05:09:20,808 INFO: - App: pytz: yes [using pytz version 2015.4]
2015-11-24 05:09:20,810 INFO: - App: cycler: yes [cycler was not found. pip will attempt to
2015-11-24 05:09:20,812 INFO: - App: install it after matplotlib.]
2015-11-24 05:09:20,814 INFO: - App: tornado: yes [using tornado version 4.2]
2015-11-24 05:09:20,816 INFO: - App: pyparsing: yes [using pyparsing version 2.0.3]
2015-11-24 05:09:20,819 INFO: - App: libagg: yes [pkg-config information for 'libagg' could not
2015-11-24 05:09:20,825 INFO: - App: be found. Using local copy.]
2015-11-24 05:09:20,833 INFO: - App: freetype: no [The C/C++ header for freetype2 (ft2build.h)
2015-11-24 05:09:20,848 INFO: - App: could not be found. You may need to install the
2015-11-24 05:09:20,851 INFO: - App: development package.]
2015-11-24 05:09:20,853 INFO: - App: png: yes [version 1.6.17]
2015-11-24 05:09:20,871 INFO: - App: qhull: yes [pkg-config information for 'qhull' could not be
2015-11-24 05:09:20,876 INFO: - App: found. Using local copy.]
2015-11-24 05:09:20,888 INFO: - App:
2015-11-24 05:09:20,895 INFO: - App: OPTIONAL SUBPACKAGES
2015-11-24 05:09:20,897 INFO: - App: sample_data: yes [installing]
2015-11-24 05:09:20,908 INFO: - App: toolkits: yes [installing]
2015-11-24 05:09:20,913 INFO: - App: tests: yes [using nose version 1.3.7 / using mock 1.0.1]
2015-11-24 05:09:20,916 INFO: - App: toolkits_tests: yes [using nose version 1.3.7 / using mock 1.0.1]
2015-11-24 05:09:20,918 INFO: - App:
2015-11-24 05:09:20,920 INFO: - App: OPTIONAL BACKEND EXTENSIONS
2015-11-24 05:09:20,928 INFO: - App: macosx: no [Mac OS-X only]
2015-11-24 05:09:20,930 INFO: - App: qt5agg: no [PyQt5 not found]
2015-11-24 05:09:20,937 INFO: - App: qt4agg: yes [installing, Qt: 4.8.6, PyQt: 4.8.6; PySide not
2015-11-24 05:09:20,940 INFO: - App: found]
2015-11-24 05:09:20,942 INFO: - App: gtk3agg: no [Requires pygobject to be installed.]
2015-11-24 05:09:20,944 INFO: - App: gtk3cairo: no [Requires pygobject to be installed.]
2015-11-24 05:09:20,946 INFO: - App: gtkagg: no [Requires pygtk]
2015-11-24 05:09:20,948 INFO: - App: tkagg: yes [installing, version 81008]
2015-11-24 05:09:20,951 INFO: - App: wxagg: no [requires wxPython]
2015-11-24 05:09:20,953 INFO: - App: gtk: no [Requires pygtk]
2015-11-24 05:09:20,955 INFO: - App: agg: yes [installing]
2015-11-24 05:09:20,957 INFO: - App: cairo: yes [installing, pycairo version 1.10.0]
2015-11-24 05:09:20,961 INFO: - App: windowing: no [Microsoft Windows only]
2015-11-24 05:09:20,963 INFO: - App:
2015-11-24 05:09:20,965 INFO: - App: OPTIONAL LATEX DEPENDENCIES
2015-11-24 05:09:20,967 INFO: - App: dvipng: no
2015-11-24 05:09:20,969 INFO: - App: ghostscript: no
2015-11-24 05:09:20,971 INFO: - App: latex: no
2015-11-24 05:09:20,973 INFO: - App: pdftops: no
2015-11-24 05:09:20,975 INFO: - App:
2015-11-24 05:09:20,977 INFO: - App: OPTIONAL PACKAGE DATA
2015-11-24 05:09:20,979 INFO: - App: dlls: no [skipping due to configuration]
2015-11-24 05:09:20,982 INFO: - App:
2015-11-24 05:09:20,984 INFO: - App: ============================================================================
2015-11-24 05:09:20,986 INFO: - App: * The following required packages can not be built:
2015-11-24 05:09:20,989 INFO: - App: * freetype

Having this issue too. Adding libfreetype6-dev to the base image should fix it.

What would also fix my issue is updating to the latest anaconda release, which provides a more recent matplotlib version.

👍