Reputation: 8482
Pillow for Python seems to be completely broken. Every image produces an IOError: cannot identify image file
. Using Python 2.6 (where I had PIL installed) works great. Does anyone know where to get hold of PIL-1.1.7.win-amd64-py2.7.exe
now that http://www.lfd.uci.edu/~gohlke/pythonlibs/ has moved on to only offering Pillow?
EDIT: Please note that PIL 1.1.7 on Python 2.7 using Windows 64-bit is confirmed working when opening the same files, we just cannot find the installer.
Upvotes: 7
Views: 23855
Reputation: 151
This blog by Christian explains process of compiling PIL for 64 bit Python in Windows 7 64-bit with Visual Studio 2010. At end of the blog, zip file containing compiled files for PIL and dependencies is also provided
Upvotes: 2
Reputation: 813
Install Pillow or PIL from repository (option 1 or 2). I would recommend you to use Pillow instead of PIL. If options 1 and 2 would not help use option 3. You don't need a separate installer for windows.
To install for Windows you can use easy_install:
easy_install Pillow
or pip
pip install Pillow
or just get Pillow source from Pillow repository unpack and run
python setup.py install
Online help for Pillow is here
Upvotes: 0