Wie man Python ModuleNotFoundError behebt: No module named 'pillow_avif'

Wenn Sie eine Fehlermeldung wie

pillow_avif_error.txt
Traceback (most recent call last):
  File "/home/uli/Nextcloud/aviftest/./MisterAvif.py", line 11, in <module>
    import pillow_avif
ModuleNotFoundError: No module named 'pillow_avif'

sehen, müssen Sie das Python-Modul pillow-avif-plugin installieren. Dies ist ein separates Modul vom Hauptmodul Pillow.

Um es zu installieren, führen Sie aus

install_pillow_avif.sh
pip install pillow-avif-plugin

Check out similar posts by category: Python