Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Install fails, "zlib not available" #530
I used 'brew install pyenv', defined PYENV_ROOT and added pyenv init to my profile.
When I tried 'pyenv install 3.4.3' the process failed with the message "zipimport.ZipImportError: can't decompress data; zlib not available". I have zlib, also installed via brew.
Other info: OS X 10.11.2, Python 3.5.1 (installed with brew).
Please update the Wiki page if you realized something more needed.
Same problem here in Mojave.
It did install the mojave pyenv package but fails to install python 3.7.0 with "zipimport.ZipImportError: can't decompress data; zlib not available"
@jamesmallen trick worked.