Skip to content

ec2 linux requirements before running python setup.py install command

Jens Jap edited this page Jan 28, 2017 · 1 revision

Instructions are for the following Amazon Linux build: Amazon Linux AMI 2016.09.1 (HVM), SSD Volume Type - ami-0b33d91d

Install developer packages and upgrade:

$ sudo yum groupinstall "Development Tools"
$ sudo yum mysql-devel
$ sudo pip install six --upgrade
$ sudo pip install -U setuptools

Install ElementTree

$ wget http://effbot.org/media/downloads/elementtree-1.2.6-20050316.tar.gz
$ tar -xf elementtree-1.2.6-20050316.tar.gz
$ cd elementtree-1.2.6-20050316
$ sudo python setup.py install