Can't Install Pillow N Mac Os Catalina (10.15.7)
Solution 1:
You have two options.
You are trying to install Pillow 5.4.1 on Python 3.8.
From the support table at https://pillow.readthedocs.io/en/stable/installation.html we can see Pillow 5.4.1 does not support Python 3.8, because that Pillow version was released before Python 3.8 came out, which means there are no precompiled binary wheels and it's attempting to compile from source.
This error message appears several times in the log and tells you what to do:
The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html
Better yet, install at least Pillow 6.2.1 for Python 3.8 and it will use the precompiled wheel. It will be faster too.
(I recommend using the latest 8.1.1 as it fixes a number of CVEs.)
Solution 2:
I think that you missed a system dependency: zlib
. I would install it via homebrew:
brew install zlib
Post a Comment for "Can't Install Pillow N Mac Os Catalina (10.15.7)"