I am quite satisfied with my Python installation. I simply followed one of the numerous tutorials on the web and installed a virtual environment with Brew, easy_install and pip. However, I migrated to Mavericks recently, and started experiencing serious problems, especially with Healpy. Strangely, I migrated three machines, which have the exact same Python installation, and only one had these problems. Anyways, the reason is that Apple Xcode 5.1 now throws errors when used with unknown compiler flags. The easy fix that worked for me is to defined the following symbols before running “pip install healpy” :

    export CFLAGS=-Qunused-arguments
export CPPFLAGS</span>=-Qunused-arguments
export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future


Sources: [1], [2], [3].