I got this, and when I tried to import psycopg2, I couldn't import it. The method of changing $ DYLD_LIBRARY_PATH that I saw on Stack overflow doesn't help at all. .. ..
It can't be helped
pip uninstall psycopg2
And then, with no use
conda install psycopg2
Then what worked .... why (@ _ @)