[PYTHON] [Work memo] Until matplotlib and numpy are installed in Amazon Linux

Benchmarks are various when you move them at hand, so I think there is a lot of demand to do it all at once with EC2.

Amazon Linux has various packages and is easy to move, but it is quite slim in the initial state. Let's put in various things. If you try to put it in normally, it will be quite moss, so I will put in various things first.

python


$ sudo easy_install pip
$ sudo yum install gcc python-devel libpng-devel freetype-devel 
$ sudo pip install matplotlib numpy

--Pip is not included by default, but easy_install is available --By default, matplotlib cannot be compiled due to lack of gcc and Python header files. --numpy can be done only with Python headers

This is the place. It's easy.

Recommended Posts

[Work memo] Until matplotlib and numpy are installed in Amazon Linux
Until Windows Subsystem for Linux (WSL) is installed in Windows and fish is installed
Create Amazon Linux with AWS EC2 and log in
NumPy and matplotlib environment construction
Run Amazon Linux 2 in VirtualBox
Until various crypt implementations in Linux Kernel for ARM are called
Are macOS and Linux completely different?
Install tensorflow in Docker (LINUX) (memo)
Put only kubectl in Amazon Linux 2
Linux command (basic in basic) personal memo
Until you install and run matplotlib