Skip to content

Install failed, "zlib not available" on macOS Mojave #1219

@tshu-w

Description

@tshu-w

Description

  • Platform information (e.g. Ubuntu Linux 16.04): macOS Mojave 10.14
  • OS architecture (e.g. amd64):amd64
  • pyenv version: 1.2.7
  • Python version: 3.7.0 & 2.7.15
  • C Compiler information (e.g. gcc 7.3): Apple LLVM version 10.0.0 (clang-1000.11.45.2)
  • Please attach verbose build log as gist

see Homebrew/homebrew-core#29176 (comment)

Temporary workaround:

CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions