Issue
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
Solution
Finally I have a solution for this. I just installed following package and its made my postgres connection.
conda install psycopg2
Answered By - Suganesh Kumar
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.