From pil import image imagetk error 0*h_box/h factor = min([f1 Apr 28, 2016 · I have encountered a problem regarding certain imports, namely : from PIL import Image, ImageTk, which is apparently an unresolved import. open ( imname ) . I am on windows and have python 3. pack() TK. Also, you need to keep the reference of your image. pack() Jun 3, 2016 · Question: How can I get dpkg PIL/Pillow version to work with python3. PhotoImage(im), the function expects a PIL image object, but you've already assigned im to the result of the point() function, which actually returns None. Replace any old PIL import statements with the appropriate Pillow syntax. png's that well. iconphoto(True, icon) window. rxpnwqryzctuqodjnjzawroyshhzybjceygjkzwksehpzukcpyrcgmsiplocaonfkvnrvnocdkctebjnsl