4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntu > pip install matplotlib のエラー > libpng-dev と libfreetype6-dev をインストールしておく

Last updated at Posted at 2016-11-03
動作環境
Ubuntu 14.04 LTS desktop amd64
GeForce GTX 750 Ti
ASRock Z170M Pro4S [Intel Z170chipset]
TensorFlow v0.11
cuDNN v5.1 for Linux
CUDA v7.5
Python 2.7.6
IPython 5.1.0 -- An enhanced Interactive Python.

Deep Learning関連でmatplotlibを使おうとしていた。

$ pip install matplotlib
...
============================================================================

                        * The following required packages can not be built:

                        * freetype, png

sudo apt-get install libpng-dev
sudo apt-get install libfreetype6-dev

上記の後に$ pip install matplotlibをするとインストールできた。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?