ubuntuでeasy_install使ってmercurial入れようとする場合
sudo easy_install Mercurial (中略) error: Setup script exited with error: command 'gcc' failed with exit status 1
こういうエラー出たら
it probably means you don't have the "python-dev" package installed.
ってことらしいので
sudo aptitude install python-dev
とするといけるぽい。