Trekky12 / kburns-slideshow

generate slideshow movies with Ken Burns effect on images
MIT License
58 stars 15 forks source link

Cannot import name 'ImageTk' from 'PIL' #8

Closed cb2-dd closed 3 years ago

cb2-dd commented 3 years ago

On a Ubuntu 20.10 and following the instructions I receive the following error:

python3 kbvs.py Traceback (most recent call last): File "kbvs.py", line 1, in from gui.app import App File "~/Downloads/kburns-slideshow-master/gui/app.py", line 12, in from PIL import Image, ImageTk, ImageDraw ImportError: cannot import name 'ImageTk' from 'PIL' (/usr/lib/python3/dist-packages/PIL/init.py)

Trekky12 commented 3 years ago

Hey @cb2-dd,

apparently you need additional packages. Please try to install the package

python3-pil.imagetk

I fixed the installation instructions 👍