dimanche 1 mars 2015

ImportError: No module named 'Image'

I seem to be experiencing some issues with my image I wish to import and cannot figure out why that is.


Here is the error report.


ImportError: No module named 'Image'


Here is the code:



import Image
hoppy = Image(Point(150, 250),"hoppy.GIF")
hoppy.draw(win)


Have I done something wrong?


I would have posted the remaining lines of code for the windows using the IDLE from graphic import* But I had trouble posting the code.


I am using a Windows 7 computer, with python 3.4, running it through IDLE, we are not allowed to use TK.


Aucun commentaire:

Enregistrer un commentaire