如题:
这个问题引起是因为zlib在安装时没有正确被引入,解决的办法是使用brew进行zlib的安装
#brew install zlib
#ln -s /usr/local/Cellar/zlib/1.2.8/include/* /usr/local/include
#ln -s /usr/local/Cellar/zlib/1.2.8/lib/* /usr/local/lib
#cd ~/.pythonbrew
#pythonbrew install -v ./dists/Python-2.7.6.tgz
或
#pythonbrew install -v 2.7.6