0

I am trying to link postgresSQL with my django framework. My db settings in settings.py are

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

I ran pip install psycopg2 and it got installed successfully. But when I run the program, I faced the error below. I am using python version 3.7.2 on windows 10 Enterprise

I am getting same error again and again -

ModuleNotFoundError: No module named 'psycopg2'

VIBHOR GOYAL
  • 473
  • 1
  • 6
  • 22

0 Answers0