Skip to content

"headers or library files could not be found for zlib" #120

@glitchyordis

Description

@glitchyordis

What did you do?

python -m pip install --upgrade pip
python -m pip install Pillow-SIMD

I can always install Pillow without issue, the error on zlib only popups with Pillow-SIMD installation.

What did you expect to happen?

Successful installation of Pillow-SIMD.

What actually happened?

"The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source."

What are your OS, Python and Pillow versions?

  • OS: Windows 10, i7 core capable of SSE4
  • Python: 3.9.12
  • Pillow: I'v uninstalled this before installing Pillow SIMD
python -m pip uninstall -y pillow
python -m pip install --upgrade pip
python -m pip install Pillow-SIMD


pip uninstall -y pillow
pip install --upgrade pip
pip install Pillow-SIMD

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions