Skip to content

installation on raspberry pi, or fedora #6

Description

@kr-g

when during startup an error is thrown, such as:

from PIL import Image, ImageTk, ImageDraw, ImageFont
ImportError: cannot import name 'ImageTk' from 'PIL' (/usr/lib64/python3.10/site-packages/PIL/__init__.py)

here it is required to install imagetk in addtion

# debian ubuntu etc
sudo apt-get install python3-pil python3-pil.imagetk

# fedora
sudo yum install python3-pillow python3-pillow-tk

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions