Thread: psycopg2 not able to be installed in macosx sierra

psycopg2 not able to be installed in macosx sierra

From
"kristofer.anandita41"
Date:
Hi Postgresql team,

I am currently working on a class project for a class in my university
which uses postgresql as the database of choice. Hence, I needed to
install psycopg2 through pip. Unfortunately, I could not install
psycopg2 for some apparent reason. I suspect this is because psycopg2 is
not yet supported in the new macosx sierra. Attached is a screenshot of
the error through installing it through the terminal. I would like to
ask assistance in this matter so that I can further continue working on
my project.

Thanks in advance!

Regards,

Kristofer Anandita
Faculty of Computer Science Universitas Indonesia
Attachment

Re: psycopg2 not able to be installed in macosx sierra

From
Daniele Varrazzo
Date:
On Thu, Sep 29, 2016 at 2:44 AM, kristofer.anandita41
<kristofer.anandita41@ui.ac.id> wrote:
> Hi Postgresql team,

Hi Kristofer :)

> I am currently working on a class project for a class in my university which
> uses postgresql as the database of choice. Hence, I needed to install
> psycopg2 through pip. Unfortunately, I could not install psycopg2 for some
> apparent reason. I suspect this is because psycopg2 is not yet supported in
> the new macosx sierra. Attached is a screenshot of the error through
> installing it through the terminal. I would like to ask assistance in this
> matter so that I can further continue working on my project.

The log shows you are missing the ssl library. I don't use Mac OS so
don't know exactly how to install it or configure the system to find
it. Googling should help you though, for instance:

http://stackoverflow.com/questions/38296469/cannot-compile-cargo-on-macos-10-12-because-ssl-cannot-be-found

Good luck!

-- Daniele