[Python-de] PIL:
doch at ba-horb.de
doch at ba-horb.de
Die Okt 19 08:52:08 CEST 2004
>
> Was ist, wenn du noch ein import GifImagePlugin hinzufügst?
>
> also:
>
> import Image
> import GifImagePlugin
> im = Image.open("test.gif")
>
Hallo genrich,
wenn ich das mache passiert folgendes:
>>> import Image
>>> import GifImagePlugin
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"C:\Programme\Zope-2.7.2-0\bin\lib\site-packages\PIL\GifImagePlugin.py",
line 30, in ?
import Image, ImageFile, ImagePalette
File "C:\Programme\Zope-2.7.2-0\lib\python\ImageFile.py", line 25, in ?
from App.ImageFile import ImageFile
File "C:\Programme\Zope-2.7.2-0\lib\python\App\ImageFile.py", line 22, in ?
from Globals import package_home
File "C:\Programme\Zope-2.7.2-0\lib\python\Globals.py", line 36, in ?
from App.ImageFile import ImageFile
ImportError: cannot import name ImageFile
Aber da ich bisher ausser ein paar kleinen Scripten (in Zope) nichts mit
Python gemacht habe, steh ich immernoch hilflos da.
Gruß
Christof