Trying to setup postgres with the postgres mac app and hit this error, which I haven\'t been able to solve. Any thoughts?
ImportError: dlopen(/Users/Crai
I was missing the postgresql client package, so I installed them with brew and that fixed this issue for me.
brew update
brew doctor
brew install postgresql
The solution that worked for me was to install psycopg2 with the "no-binary" option set, which tells psycopg2 to use the system libssl.
By default psycopg2 uses its own version of libssl and it seemed to keep a dependency on an old version of the library which no longer existed after my upgrade.
See the psycopg2 install docs for more detail about the no-binary option.
pip uninstall psycopg2
pip install --no-binary :all: psycopg2