TeaM-TL/FotoKilof

ImageGrab error on Ubuntu

Closed this issue · 2 comments

Good day.

After install fotokiloff on Ubuntu 20.04.3 LTS by
pip install fotokilof
was not able start fotokiloff

terminal error message:

Traceback (most recent call last):

  File "/home/osbl/.local/bin/fotokilof", line 5, in <module>

    from src import __main__

  File "/home/osbl/.local/lib/python3.8/site-packages/src/__main__.py", line 48, in <module>

    from PIL import ImageGrab

  File "/usr/lib/python3/dist-packages/PIL/ImageGrab.py", line 26, in <module>

    raise ImportError("ImageGrab is macOS and Windows only")

ImportError: ImageGrab is macOS and Windows only

on Ubuntu system we have:
ImageMagick 7.1.0-9 Q16-HDRI x86_64 2021-09-26 https://imagemagick.org
Python 3.8.10 with tkinter
python3 -c "import tkinter" - succesful

Any help will be greatly appreciated

Open Source Buddhism Library
www.buddism.ru
Alexander Stroganov

Hi Alexander
I use FotoKilof under Kubuntu 20.04.3 LTS without problem, my Pillow version is 8.3.1
try to upgrade Pillow:
python3 -m pip install --upgrade pillow

ok.
command is
python3 -m pip install --upgrade Pillow
(capital P in Pillow)
Now all working fine. Thank you for kind help.
Alexander