Install libpq-dev on Mac OS X

后端 未结 5 1529
心在旅途
心在旅途 2021-02-04 06:26

I\'m trying to run Django with a Postgresql backend on my local Mac OS X. I\'ve installed Django using pip:

sudo pip install Django

I\'ve inst

5条回答
  •  一个人的身影
    2021-02-04 06:52

    For OSX 10.9.2 Mavericks, this is what worked for me. Try installing postgres with brew first:

    brew install postgresql
    

    Then install pg

    gem install pg
    

提交回复
热议问题