This question has been asked before but none of the answers are unsatisfactory condition. I am trying to set up a PostgreSQL database for pandas with jupyter notebook (ipython) always I have following error ModuleNotFoundError: No module named 'psycopg2' the same I have connect with my Django project its working fine.
for this I have Installed following packages even I facing same issue. I am using ubuntu 18.04 bionic verion.
sudo apt-get install python3-psycopg2
pip3 install psycopg2-binary
