Skip to content

Instantly share code, notes, and snippets.

@fricative
Forked from whyvez/install-psycopg2.sh
Created October 14, 2019 07:19
Show Gist options
  • Save fricative/4afb6c04a343b49c724883a6654033b0 to your computer and use it in GitHub Desktop.
Save fricative/4afb6c04a343b49c724883a6654033b0 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