I am using imports :- import psycopg2
But while running the code in local, I am facing an issue of :-
from psycopg2._psycopg import (
ModuleNotFoundError: No module named 'psycopg2._psycopg'
I have installed psycopg2 using cmd [pip install psycopg2] psycopg2 version 2.8.4 python version 3.7.3 python 3.7 32bit
How should I import the ._psycopg.py file in windows? or any other solution if possible?