原因应该是默认的一些发行版本中没有安装easy_install导致的编译错误。
解决办法:
wget https://bootstrap.pypa.io/ez_setup.py -O - | python