Running Python on EC2 is a pain, and installing packages can be more of a pain (version clashes, permissions etc). Turns out the easiest way was just to use
virtualenv. Here’s a helper script I created:
sudo yum -y install gcc-c++ python27-devel atlas-sse3-devel lapack-devel
This would get your
virtualenv setup, and the default environment would be used every time you log in. It also upgrades
scipy as a demonstration.