Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

1
3

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.

EC2でpip installする時に必要なyumパッケージまとめ

Last updated at Posted at 2015-11-02

いっつも同じことググってるのでメモ。

pipでインストールする時に必要になるパッケージ。

ちゃんと細かく調べて無いので、余計なものも入れちゃってるかも。

いろいろ用

sudo yum install gcc
sudo yum install patch

gnureadlineとか、patchコマンド使ってるパッケージがある。

MySQL-Python用

sudo yum install mysql-devel

Pillow用

sudo yum install libjpeg-turbo-devel
sudo yum install zlib
sudo yum install libtiff-devel
sudo yum install freetype-devel
sudo yum install libwebp-devel
sudo yum install lcms2-devel
sudo yum install openjpeg-devel
sudo yum install openjpeg-libs

ここを参考に。

openjpegいれても、jpeg2000サポートが有効になってないっぽい。
なので、最後の2行いらないかも。

lxml用

sudo yum install libxml2-devel
sudo yum install libxslt-devel

元ネタは、ここ

iPython用

sudo yum install ncurses-devel

gnureadlineをインストールする時に必要な気がする。

何用かわかんない

sudo yum install libffi-devel
1
3
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
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?