HEALPix C, C++ version 3.00 and healpy version 1.4.1 are now available in a PPA repository for Ubuntu 12.04 Precise and Ubuntu 12.10 Quantal.
First remove your previous version of healpy , just find the location of the package:
> python -c “import healpy; print healpy.__file__”
and remove it:
> sudo rm -r /some-base-path/site-packages/healpy*
> sudo apt-get update
> sudo apt-get install healpix-cxx libhealpix-cxx-dev libchealpix0 libchealpix-dev python-healpy
> which anafast_cxx
/usr/bin/anafast_cxx
> python -c “import healpy; print healpy.__version__”
1.4.1