install Psycopg2 on mac osx 10.9.5

后端 未结 12 669
清酒与你
清酒与你 2020-11-27 04:42

I\'m trying to install Psycopg2 on my Mac-book. I still get the same error. I found a lot of same questions on Stack Overflow but no answer seems to work. I think it is outd

12条回答
  •  无人及你
    2020-11-27 05:28

    $ find / -name pg_config 2>/dev/null

    /Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config

    $ export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin/

    $ pip install psycopg2

提交回复
热议问题