After installing Pillow, I get errors such as:
>>> from PIL import Image Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/pi/env/lib/python3.7/site-packages/PIL/Image.py", line 90, in <module> from . import _imaging as core ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory
I could, one by one, find all these additional libraries required and install them individually, but it would much more convenient to have a canonical list or a single package that took care of them.
I though the
python-pil system package would install all these, and it does, as well as Pillow itself, but Pillow installed via Pip - for example in a virtualenv, which I need - will not find the libraries that
Is there a more convenient way of installing these libraries?