Last active
March 7, 2023 03:21
-
-
Save datapolitan/43b6bd86b408dccc47fc to your computer and use it in GitHub Desktop.
Installation of packages to get matplotlib and pandas installed on Amazon EC2 instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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