0

I try to use ImageGrab (open-cv function)

OS: lubuntu

First, I did: sudo apt-get install python-opencv. Installation went successfuly. Then I tried to do: from PIL import ImageGrab. But at this point I got the following ImportError:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/user/lib/python2.7/dist-packages/PIL/ImageGrab.py", line 26, in <module> import _grabscreen
ImportError: No module named _grabscreen

Where am I wrong?

Tal Rofe
  • 457
  • 12
  • 46

1 Answers1

0

Unfortunately - ImageGrab only works with Windows

Alternative: pyscreenshot

Tal Rofe
  • 457
  • 12
  • 46