Install fails, "zlib not available" #530
Comments
Ran into this as well. Looks like a good ol' XCode update snuck in and clobbered zlib again.
solved it for me. |
Please update the Wiki page if you realized something more needed. |
xcode-select doesn't fix the issue for me on Mac OS X Mojave (10.14) |
Hey @geoidesic to solve the problem on Mojave I ran
Then
I have some warning from sqlite3 but the python version was installed. |
Thanks but that didn't work for me. Not sure if it's related but I'm trying to install 3.5.6. |
did you see a pyenv package upgrade with "mojave" name on it when you run brew upgrade? I would suggest to reinstall pyenv |
What I had to do was specify $ CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 3.5.6 |
Is that for |
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. |
Seems the solution is:
|
same problem for me too & the following worked
|
Zlib not being found on mojave is a separate issue: #1219 |
Hi --
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).
Any suggestions?
Thanks....
The text was updated successfully, but these errors were encountered: