Ich benutze Python2.6 und habe heute Morgen ein Problem. Es besagt, dass "Modul" kein Attribut "Image" hat. Hier ist meine Eingabe. Warum kann ich PIL.Image zum ersten Mal nicht benutzen?Python PIL hat kein Attribut 'Image'
>>> import PIL
>>> PIL.Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Image'
>>> from PIL import Image
>>> Image
<module 'PIL.Image' from '/usr/lib/python2.6/dist-packages/PIL/Image.pyc'>
>>> PIL.Image
<module 'PIL.Image' from '/usr/lib/python2.6/dist-packages/PIL/Image.pyc'>