KenT2 / pipresents-kms

Stable version of Pi Presents running on Legacy RPi OS Bullseye
https://pipresents.wordpress.com
Other
14 stars 3 forks source link

error while starting the media show example from the github kent2 #7

Closed crazysid44 closed 10 months ago

crazysid44 commented 11 months ago

From the terminal window type:

 python3 /home/<username>/pipresents/pipresents.py -p pp_mediashow_1p5

i got this:

$ python3 /home/crazysid/pipresents/pipresents.py -p pp_mediashow_1p5 Traceback (most recent call last): File "/home/crazysid/pipresents/pipresents.py", line 31, in from pp_showmanager import ShowManager File "/home/crazysid/pipresents/pp_showmanager.py", line 350, in from pp_menushow import MenuShow File "/home/crazysid/pipresents/pp_menushow.py", line 4, in from pp_show import Show File "/home/crazysid/pipresents/pp_show.py", line 7, in from PIL import ImageTk ImportError: cannot import name 'ImageTk' from 'PIL' (/usr/lib/python3/dist-packages/PIL/init.py)

KenT2 commented 11 months ago

You probaably forgot this in installation

sudo apt install python3-pil.imagetk