pyenv安装python3.8时,错误:依赖Xcode中的zlib找不到

     pyenv安装python3.8时,错误:依赖Xcode中的zlib找不到

zipimport.ZipImportError: can't decompress data; zlib not available

    解决办法

CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" \
LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(xcrun --show-sdk-path)/usr/lib" \
pyenv install 3.8.5

 

上一篇:SpringBoot 项目如何在tomcat容器中运行


下一篇:深度学习:批量归一化(BN层)