![SOLVED: I'm trying to install Pillow to use it in my project but it doesn't let me. The "from PIL import Image, ImageTk" error says unresolved import PIL. # Main window root SOLVED: I'm trying to install Pillow to use it in my project but it doesn't let me. The "from PIL import Image, ImageTk" error says unresolved import PIL. # Main window root](https://cdn.numerade.com/ask_images/a137994b55564bc2a47d3f71bbd25530.jpg)
SOLVED: I'm trying to install Pillow to use it in my project but it doesn't let me. The "from PIL import Image, ImageTk" error says unresolved import PIL. # Main window root
![The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source · Issue #4242 · python-pillow/Pillow · GitHub The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source · Issue #4242 · python-pillow/Pillow · GitHub](https://user-images.githubusercontent.com/72164/85028939-bbd13380-b149-11ea-871d-92d7eb28d2cc.png)
The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source · Issue #4242 · python-pillow/Pillow · GitHub
![pip install Pillow" command not working. Returns an error requiring zlib · Issue #5868 · python-pillow/Pillow · GitHub pip install Pillow" command not working. Returns an error requiring zlib · Issue #5868 · python-pillow/Pillow · GitHub](https://user-images.githubusercontent.com/15052725/144749097-db3c041d-2ae8-4b5b-a411-49384dd813a1.png)