2018年11月7日星期三

mac安装pyenv报zlib的错

参考https://github.com/pyenv/pyenv/issues/25

ERROR: The Python zlib extension was not compiled. Missing the zlib?

设置CFLAGS:
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 2.7

没有评论:

发表评论