Closed devwwb closed 3 years ago
But we do a pip install Pillow
right, can you explain?
Running docker-compose up i get this error:
The headers or library files could not be found for jpeg,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
After adding libjpeg-dev to Dockerfile Pillow builds ok.
Ok, thanks, never experienced that. Seems like it could be related to pip version if I do a quick search https://github.com/python-pillow/Pillow/issues/4242 Maybe we should pin some more versions to be safe.
But if this fixes the issue than that's also fine.
Thanks!
Pillow module needs libjpeg-dev when compiling from source