ImportError: No module named psycopg2 Step 1: Install the dependencies Step 2: Run this command in your virtualenv