I tried:
pip3 install psycopg2, pip install psycopg2,
Requirement already satisfied: psycopg2 in
c:\users\dzitc\appdata\local\programs\python\python37-32\lib\site-packages (2.8.3)
In test.py I imported the psycopg2 by:
import psycopg2
When debugging the test.py I get results as :
Exception has occurred: ModuleNotFoundError No module named 'psycopg2'
File "C:\Users\DzITC\Desktop\PYFiles\Main.py", line 7, in <module> import psycopg2
Main.py!