Problems using psycopg2 on Mac OS (Yosemite)

前端 未结 8 1410
盖世英雄少女心
盖世英雄少女心 2020-12-23 13:49

Currently I am installing psycopg2 for work within eclipse with python.

I am finding a lot of problems:

  1. The first problem sudo pip3.4 install ps
8条回答
  •  星月不相逢
    2020-12-23 14:20

    I am using yosemite, postgres.app & django. this got psycopg2 to load properly for me but the one difference was that my libpq.5.dylib file is in /Applications/Postgres.app/Contents/Versions/9.4/lib.

    thus my second line was sudo ln -s /Applications/Postgres.app/Contents/Versions/9.4/lib/libpq.5.dylib /usr/lib

提交回复
热议问题