I am trying to use PIL to get screenshot, but some import error appear when I import ImageGrab from PIL. (Platforms are Mac OS X and Debian)
like,
from PIL import ImageGrab
When I do this, the result is
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageGrab.py", line 34, in <module>
import _grabscreen
ImportError: No module named _grabscreen
This said that there is no module named "_grabscreen".
Is there any way to solve this problem?