can't import psycopg2 errors code example
Example 1: No module named 'psycopg2'
pip install psycopg2
Example 2: No module named 'psycopg2'
$ pip install psycopg2
# or
$ pipenv install psycopg2
pip install psycopg2
$ pip install psycopg2
# or
$ pipenv install psycopg2