Here you can find PIL-1.1.7.win-amd64-py2.7.exe
Obtaining PIL instead of Pillow for Python 2.7 64-bit on Windows
-
30-06-2022 - |
Question
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.
Solution
OTHER TIPS
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
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