Been trying to install psycopg2 with either easy_install or pip, and the terminal gets stuck in a loop between xcrun and lipo.
sidwyn$ sudo easy_install psyc
This one works for me:
xcode-select -–install sudo mv /usr/bin/lipo /usr/bin/lipo.orig sudo ln -s /Library/Developer/CommandLineTools/usr/bin/lipo /usr/bin