I have:
Pillow-3.4.0-cp34-cp34--win32.whl (md5) (which I found here)
Python-3.4.0.amd64
Pyscripter-v2.6.0-setup
I am attempting to create a program that can compare two images and have come across a problem to do with PIL. As I understand it, you have to download Pillow and import the 'Image' module from it. I have downloaded the above Pillow program and this is the various codes I have tried to use:
from Pillow import Image
OR
import pip
installed_packages = pip.get_installed_distributions()
installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
for i in installed_packages])
print(installed_packages_list)
import Pillow
import Image
OR SIMPLY
import Image
None of these have worked (they come up with various different error messages including 'no module named Pillow/PIL/Image') and I have tried a couple other slight variants on these but still, none have worked. I am looking for perfection rather than simplicity and anything useful would be amazing. Thankyou. Also, if anyone can provide a way that will account for brightness differences (I am trying to compare a picture of an image on a screen with the image itself).