Summary of yum packages required for pip install on EC2

I'm googled the same thing all the time, so make a note.

Packages required when installing with pip.

I haven't examined it in detail, so I may have added extra things.

For various purposes

sudo yum install gcc
sudo yum install patch

Some packages use the gnureadline or patch commands.

MySQL-for Python

sudo yum install mysql-devel

For 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

Refer to here.

Even with openjpeg, it seems that jpeg2000 support is not enabled. So I may not do the last two.

For lxml

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

The original story is here.

for iPython

sudo yum install ncurses-devel

I feel it is necessary when installing gnu readline.

I don't know what it is for

sudo yum install libffi-devel

Recommended Posts

Summary of yum packages required for pip install on EC2
Install Python 3.8, Pip 3.8 on EC2 (Amazon Linux 2)
Install pip / pip3 on Ubuntu
Summary of yum packages required for pip install on EC2
Shell script basics # 2
[Recommended tagging for machine learning # 2] Extension of scraping script
[Recommended tagging for machine learning # 2.5] Modification of scraping script
Find out the location of packages installed with pip
Install AWS SDK for PHP on AWS EC2 (PHP7.2 + Apache2.4.41 + OPCashe + Composer)
Python --Install MySQLDB on EC2
Summary of installing PHP7.2 on EC2 (Amazon Linux 2) and setting php.ini
Pip install --ugrade pip fails on Windows
Install Python on Windows + pip + virtualenv
Install pyenv on EC2 (Amazon Linux)
Install confluent-kafka for Python on Ubuntu
[For competition professionals] Summary of doubling
Install easy_install and pip on windows
Description and summary of what you need to install Chainer on Mac
Get the list of packages for the specified user from the packages registered on PyPI
Summary of mathematical scope and learning resources required for machine learning and data science
I'll install Ruby on EC2 (Amazon Linux2) 2020
Summary of methods for automatically determining thresholds
Solution for pip install error [Python] [Mac]
Summary of various for statements in Python
scipy stumbles with pip install on python 2.7.8
How to install packages on Alpine Linux
Summary of petit techniques for Linux commands
Install python on xserver to use pip
Summary of useful techniques for Python Scrapy
Prepare the development environment for Python on AWS Cloud9 (pip install & time change)