Skip to content

Instantly share code, notes, and snippets.

@pilgrim2go
Forked from whyvez/install-psycopg2.sh
Created November 9, 2016 10:23
Show Gist options
  • Save pilgrim2go/108e4f38232c0c43f5d665ef351c7bc9 to your computer and use it in GitHub Desktop.
Save pilgrim2go/108e4f38232c0c43f5d665ef351c7bc9 to your computer and use it in GitHub Desktop.
install psycopg2 on aws linux
sudo yum install gcc python27 python27-devel postgresql-devel
sudo curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python27
sudo /usr/bin/easy_install-2.7 pip
sudo pip2.7 install psycopg2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment