Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save richarddunks/6299b9a8674b30021135349190bf45c4 to your computer and use it in GitHub Desktop.
Save richarddunks/6299b9a8674b30021135349190bf45c4 to your computer and use it in GitHub Desktop.
Installation of packages to get matplotlib and pandas installed on Amazon EC2 instance
#!/bin/bash
sudo yum install update
sudo yum groupinstall "Development Tools"
sudo yum install python-devel libpng-devel freetype-devel
#the last two are necessary for pip to run without failing with error 'Command "python setup.py egg_info" failed with error code 1'
sudo pip install matplotlib pandas #Finally it works!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment