uploadcare/pillow-simd

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

glitchyordis opened this issue · 2 comments

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

Please follow the installation instructions at https://github.com/uploadcare/pillow-simd#installation especially the bit about prerequisites.