Python no module named pil import image Image import core as Image from PIL import ImageDraw from PIL import ImageChops <rant> Any sort of package dependency is a disaster waiting to happen. image. Simplest solution is to replace: import Image with: from PIL import Image in file qrcode/image/pil. ImageTK. exe installer of the version 4. 2. py Dust_Collector. We often use PIL together with other image processing libraries like OpenCV. I had to import the PIL. open("splash2. kjljtuouatbkspefetyqgjwdzcotzpfullidshxnkxyccvniwkdbprszcdaovfatzhvcuqrneyq