2023-05-12 19:29:42,480 ! During handling of the above exception, another exception occurred:
2023-05-12 19:29:42,481 !
2023-05-12 19:29:42,481 ! Traceback (most recent call last):
2023-05-12 19:29:42,481 ! File "<string>", line 2, in <module>
2023-05-12 19:29:42,481 ! File "<pip-setuptools-caller>", line 34, in <module>
2023-05-12 19:29:42,481 ! File "/tmp/pip-install-y6n37m0t/pillow_a049a5758b1948dfaed76d1de5c9ef9d/setup.py", line 903, in <module>
2023-05-12 19:29:42,481 ! raise RequiredDependencyException(msg)
2023-05-12 19:29:42,481 ! __main__.RequiredDependencyException:
2023-05-12 19:29:42,481 !
2023-05-12 19:29:42,481 ! The headers or library files could not be found for zlib,
2023-05-12 19:29:42,482 ! a required dependency when compiling Pillow from source.
2023-05-12 19:29:42,482 !
2023-05-12 19:29:42,482 ! Please see the install instructions at:
2023-05-12 19:29:42,482 ! https://pillow.readthedocs.io/en/latest/installation.html
2023-05-12 19:29:42,482 !
2023-05-12 19:29:42,482 !
2023-05-12 19:29:42,482 ! [end of output]
2023-05-12 19:29:42,482 !
2023-05-12 19:29:42,482 ! note: This error originates from a subprocess, and is likely not a problem with pip.
2023-05-12 19:29:42,482 ! error: legacy-install-failure
2023-05-12 19:29:42,483 !
2023-05-12 19:29:42,483 ! × Encountered error while trying to install package.
2023-05-12 19:29:42,483 ! ╰─> pillow
2023-05-12 19:29:42,483 !
2023-05-12 19:29:42,483 ! note: This is an issue with the package mentioned above, not pip.
2023-05-12 19:29:42,483 ! hint: See above for output from the failure.
2023-05-12 19:29:42,484 > Running setup.py install for pillow: finished with status 'error'
2023-05-12 19:29:42,485 > Rolling back uninstall of Pillow