Whenever I need to install something on my mac involving database, problems arise. Ok, let’s start!

You’ve to install Xcode, the download MacPort and install it.

Now to Install postgresqlXX (9.1 for me):

$ sudo port install postgresql91

Add export PATH=/opt/local/lib/postgresql91/bin:$PATH to your .profile.

If you need postgresql API for your python:

$ pip install psycopg2

blog comments powered by Disqus


05 February 2012