Skip to content

Instantly share code, notes, and snippets.

@devhero
Created June 5, 2019 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devhero/aabe0c3230e3a00c87f9df7b63a3140e to your computer and use it in GitHub Desktop.
Save devhero/aabe0c3230e3a00c87f9df7b63a3140e to your computer and use it in GitHub Desktop.
python build failed macos mojave #build #python #macos
# BUILD FAILED (OS X 10.14.5 using python-build ...)
# zipimport.ZipImportError: can't decompress data; zlib not available
brew install zlib
export LDFLAGS="-L/usr/local/opt/zlib/lib"
export CPPFLAGS="-I/usr/local/opt/zlib/include"
export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
export KEEP_BUILD_PATH=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment