python pip install psycopg2 install error

后端 未结 10 1699
余生分开走
余生分开走 2020-11-27 15:31

I did a simple pip install psycopg2 on mac system. It installed fine, but when I try to use psycopg2 I get the error:

Reason: Incompatible libra         


        
10条回答
  •  攒了一身酷
    2020-11-27 15:54

    For me on Mavericks, it worked to just copy the two dylib and relaunch Python:

    cp /Library/PostgreSQL/9.3/lib/libssl.1.0.0.dylib /usr/lib/
    cp /Library/PostgreSQL/9.3/lib/libcrypto.1.0.0.dylib /usr/lib/
    

提交回复
热议问题