[Image-SIG] PIL for python 3.2
Ingo Randolf
ingo at quitch.net
Fri Aug 26 17:19:21 CEST 2011
Hello.
another attempt to make PIL run with python3.2 on osx 10.6.7
I found an unofficial release of PIL for py3.2:
https://github.com/sloonz/pil-py3k/tree/a75c372ed17b3d06c0d58c1db03c9215da9c4bbb
it compiles and installs fine with python3.2
when i want to open an image i get:
IOError: cannot identify image file
with any type of image...
compiling PIL says:
--- TKINTER support ok
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
--- FREETYPE2 support ok
i do:
>>> from PIL import Image
>>> im = Image.open("path/to/my/image.jpg")
i am on: osx 10.6.7
what am i doing wrong?
please help.
thanks
ingo
Am 23.08.2011 um 14:29 schrieb Ingo Randolf:
> hi all.
>
> i had a look into porting PIL for use with python 3.2
>
> well, it does compile now (osx 10.6), i can import PIL in python3.2, but when i try to load an image i get this traceback:
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/PIL/Image.py", line 1983, in open
> raise IOError("cannot identify image file")
> IOError: cannot identify image file
>
> this happens with any image-kind...
>
> i am new to python, and to PIL... so i have no idea why this happens...
>
> it would be great if PIL would be able to be used with python3.2!
>
> maybe somebody more skilled than me can make it run?
>
> here is the modified version:
> http://www.bildstrom.at/dl/Imaging-1.1.7_3.2.zip
>
> ingo
>
>
>
> Am 09.08.2011 um 18:18 schrieb Ingo Randolf:
>
>> hello.
>>
>> i want to use PIL with python 3.2.
>> Any ideas when PIL will be available for python32?
>>
>> thanks
>> ingo
>> _______________________________________________
>> Image-SIG maillist - Image-SIG at python.org
>> http://mail.python.org/mailman/listinfo/image-sig
>
> _______________________________________________
> Image-SIG maillist - Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
More information about the Image-SIG
mailing list