I am unable to install psycopg2
using python2.7 or python 3.4. I tried installing these ways:
pip install psycopg2
python setup.py install
on psycopg2 download fileThe error:
ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/usr/bin/clang' failed with exit status 1
I installed Postgres with brew
and had no problem until I upgraded Mac to Sierra. I looked online but this fails:
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.5/bin/ pip install psycopg2
I managed to have a system package for psycopg2, but I want to be able to install psycopg2 using pip. What else can I do ?