title: Why PostgreSQL is not working in python?
body: <pre><code>root@user:~# pip install psycopg2
  Requirement already satisfied (use --upgrade to upgrade): psycopg2 in /usr/local/lib/python2.7/dist-packages
  </code></pre>
  
  <p>Why PostgreSQL  is not working in python?</p>
  
  <pre><code>root@user:~$ python
  Python 2.7.8 (default, Oct 20 2014, 15:05:29) 
  [GCC 4.9.1] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import postgresql
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named postgresql
  </code></pre>