pyenv install x.x.x
When I did, I got the following error.
zipimport.ZipImportError: can't decompress data; zlib not available
When I run the following command in bash, it's OK.
bash
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 3.7.2
Recommended Posts