Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8745453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:00:57+00:00 2026-06-13T12:00:57+00:00

I installed django and installed the pydev plugin under eclipse. Then I downloaded the

  • 0

I installed django and installed the pydev plugin under eclipse. Then I downloaded the postgres(1.16.0) sql tool and installed that. Here are my settings:

enter image description here

Then I wanted to configure the setting file under django:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2' , 
        'NAME': 'django',                   
        'USER': 'postgres',                 
        'PASSWORD': 'admin',                
        'HOST': '',        
        'PORT': '',                     
    }
}

but when I do syncdb i get:

    backend = load_backend(db['ENGINE'])
  File "C:\Python27\lib\site-packages\django\db\utils.py", line 24, in load_backend
    return import_module('.base', backend_name)
  File "C:\Python27\lib\site-packages\django\utils\importlib.py", line 35, in import_module
    __import__(name)
  File "C:\Python27\lib\site-packages\django\db\backends\postgresql_psycopg2\base.py", line 13, in <module>
    from django.db.backends.postgresql_psycopg2.creation import DatabaseCreation
  File "C:\Python27\lib\site-packages\django\db\backends\postgresql_psycopg2\creation.py", line 1, in <module>
    import psycopg2.extensions
ImportError: No module named psycopg2.extensions

What do I do wrong?

PS.: I am developing under win7 and eclipse juno

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:00:57+00:00Added an answer on June 13, 2026 at 12:00 pm

    Install psycopg2

    pip install psycopg2
    

    Psycopg is the most popular PostgreSQL adapter for the Python programming language. At its core it fully implements the Python DB API 2.0 specifications.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to install a Django plugin with eclipse/pydev, and I get the
I've got PyDev installed in Eclipse. I'm trying to play with Django. I'm got
I'm using Django and PyDev/Eclipse. I just installed django-treebeard with setup.py install and it
I've installed django-taggit ( click here ) and after install the package shows under
I have an application that uses Django 1.3 installed in python's site-packages. I want
mac ox 8.2, eclipse juno, python 2.7, django 1.4.1, pydev 2.7.1.2012100913 I'm relative new
I've installed pydev to my eclipse 3.5.2. Everything was working smoothly, create projects, execute,
I have installed django-registration with pip, version 0.7. Then with urls.py from core.forms import
I have python 2.6.1 installed with django 1.3 and PyDev 2.0. I am able
I installed Django, and started working through the tutorial. It told me that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.