Skip to content

Instantly share code, notes, and snippets.

@fprieur
Created March 18, 2014 13:52
Show Gist options
  • Save fprieur/9620476 to your computer and use it in GitHub Desktop.
Save fprieur/9620476 to your computer and use it in GitHub Desktop.
Correctly use and install postgresql on ubuntu

The first thing to do is to install the dependencies.

sudo apt-get build-dep python-psycopg2

After that go inside your virtualenv and use

pip install psycopg2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment