Making use of pillow in Viktor

Is it possible to use the Python Image Library in Viktor?

Putting pillow~=8.4.0 in the requirements and importing from PIL gives the following error while starting Viktor:
No module named ‘PIL’
2021-10-26 09:47:47.962 INFO : Applying manifest…
2021-10-26 09:47:48.755 ERROR : Manifest is invalid:

Hi Reinout,

Did you install the app after adding Pillow to the requirements? I just ran a test and was able to import without any problems

Hi Raoul,

Apparently I did not. Thanks :slight_smile:

1 Like