Q:

why django not found module psycopg2 in django2.2 and python 3.8

I install django 2.2.10 and python 3.8 and psycopg2 2.8.4 but when i try migration with command (python manage.py migrate) confront this error:
raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
django.core.exceptions. ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2'
psycopg2 in 32-bit.  i try any solution that available in stackoverflow but this error don't dissolve
databases in settings.py:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'postgres',
        'USER': 'seyyedh',
        'PASSWORD' : '123456',
        'HOST':'localhost',
        'PORT' : '5432',
    }
}

A:

I understand that psycopg2 installed on another virtual env while main virtual env running 
so I unistalled that virtual env and error solved

