No module named Image tk

Detection score: 6.0

<p>I added the library with</p>

<p>sudo apt-get install python-imaging-tk</p>

<p>And then in the program</p>

<p>I wrote; from PIL import Image, ImageTk or from PIL import ImageTk</p>

<p>i gave error both of them.</p>

<p>The error:</p>

<p>Traceback ( most recent call last ):
  File "", line 1 in 
    from PIL import Image, ImageTk
ImportError: cannot import name 'ImageTk'</p>

<p>How can i fix this problem?</p>
Posted 8 days ago | reported 8 days ago
Posted by Anıl YILMAZ (1)

Caught by 5 reasons: