Skip to content

ImageGrab on Linux #2028

@techtonik

Description

@techtonik

What did you do?

Got Ubuntu 16.04.

>>> from PIL import ImageGrab

What did you expect to happen?

>>>

What actually happened?

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/PIL/ImageGrab.py", line 22, in <module>
    raise ImportError("ImageGrab is OS X and Windows only")

What versions of Pillow and Python are you using?

>>> PIL.VERSION
'1.1.7'
>>> PIL.PILLOW_VERSION
'3.1.2'

So, what is the proper way for saving screens on Linux?

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxPlatformA catchall for platform-related

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions