Installing SciPy for Python on Amazon-linux-EC2

First, install pip, a package-manager for python:

tar -xvf pip*.gz
cd pip*
sudo python install

Install atlas-devel and lapack libraries:

yum -y install atlas-devel
yum install lapack
pip install scipy

For the last three lines thanks to DRUNKSANDLAMPPOSTS:
Before I installed atlas-devel, I was having trouble with installing atlas from source (atlas is a requirement for scipy). When I tried to install scipy using pip, pip was complaining about Blas libraries.
Installing atlas-devel was the key.

This entry was posted in EC2, Python, SciPy and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s