Tostapunk / PC-Control-telegram-bot

Control your PC directly from Telegram!
MIT License
67 stars 14 forks source link

PIL Import Error #2

Closed advokatb closed 7 years ago

advokatb commented 7 years ago

Hi. Thanks for this bot. Please help with this:

Traceback (most recent call last):
  File "bot.py", line 9, in <module>
    import pyscreenshot as ImageGrab
  File "D:\Program\Python\Python27\lib\site-packages\pyscreenshot\__init__.py", line 1, in <module>
    from PIL import Image
ImportError: No module named PIL

How can it be fixed?

advokatb commented 7 years ago

pip install Pillow solved the problem