title: python django - no module psycopg2.extension even after installing compiled version psycopg2-2.4.5.win32-py2.7.‌exe
body: <p>I am using python django on windows,and trying to deploy to heroku . When i tried to install psycopg2 using pip,   </p>
  
  <pre><code>     pip install psycopg2 
  </code></pre>
  
  <p>i got error :<br>
  unable to find vcvarsall.bat<br>
  Then i found that i need to install visual studio 2008 (or) i can directly download and install compiled version , so  downlaoded from this link :<br>
  <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="noreferrer">http://www.lfd.uci.edu/~gohlke/pythonlibs/</a><br>
  Filename i downloaded : psycopg2-2.4.5.win32-py2.7.‌exe<br>
  Even after installing this i am getting error :  no module named psycopg2.extensions</p>
  
  <h2>So, what more should i do ?</h2>
  
  <pre><code>            D:\mycode\python\mysite&gt;heroku run python manage.py syncdb
              Running python manage.py syncdb attached to terminal... up, run.1
              Traceback (most recent call last):
                File "manage.py", line 10, in &lt;module&gt;
                  execute_from_command_line(sys.argv)
                File "/app/.heroku/venv/lib/python2.7/site-                                packages/django/core/management/__i
              nit__.py", line 443, in execute_from_command_line
                  utility.execute()
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/__i
              nit__.py", line 382, in execute
                  self.fetch_command(subcommand).run_from_argv(self.argv)
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/__i
              nit__.py", line 261, in fetch_command
                  klass = load_command_class(app_name, subcommand)
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/__i
              nit__.py", line 69, in load_command_class
                  module = import_module('%s.management.commands.%s' % (app_name, name))
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/utils/importlib.py"
              , line 35, in import_module
                  __import__(name)
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 8, in &lt;module&gt;
                  from django.core.management.sql import custom_sql_for_model,                 emit_post_sync_
              signal
                                File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/sql
              .py", line 6, in &lt;module&gt;
                  from django.db import models
                File "/app/.heroku/venv/lib/python2.7/site-                packages/django/db/__init__.py", line 40, in &lt;module&gt;
                  backend = load_backend(connection.settings_dict['ENGINE'])
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/__init__.py", line 34, in __getattr__
                  return getattr(connections[DEFAULT_DB_ALIAS], item)
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/utils.py", line92, in __getitem__
  backend = load_backend(db['ENGINE'])
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/utils.py", line24, in load_backend
                  return import_module('.base', backend_name)
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/utils/importlib.py"
              , line 35, in import_module
                  __import__(name)
                File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 13, in &lt;module&gt;
                  from django.db.backends.postgresql_psycopg2.creation import DatabaseCreation
  
                File "/app/.heroku/venv/lib/python2.7/site-                                packages/django/db/backends/postgre
              sql_psycopg2/creation.py", line 1, in &lt;module&gt;
                  import psycopg2.extensions
              ImportError: No module named psycopg2.extensions
  
              D:\mycode\python\mysite&gt;                            
  </code></pre>
  
  <hr>
  
  <p>While isntalling psycopg2 both by pip and easy_install, installdidnt work as i got this error : unable to find vcvarsall.bat with some msg : no previsouly included directores matching 'doc\src_build'</p>
  
  <p>Thanks</p>