Python has 64-bit, PIL official only 32.
Installation will be prompted to find the installation path for Python.
Why the PIL library cannot be installed under 64-bit Win7
The PIL binary installation library provided by PIL official http://www.pythonware.com/products/pil/is 32-bit.
The location of the 64-bit program and the 32-bit program to detect the registry is not the same:
64-bit:hkey_local_machinesoftwarepython
32-bit:hkey_local_machinesoftwarewow6432nodepython
I installed the Python2.7 x64 version, so the relevant information is under Hkey_local_machinesoftwarepython, 32-bit programs in Hkey_local_ Machinesoftwarewow6432nodepython below to find the Python installation information, must not be found.
Solve:
Fortunately, someone has provided an unofficial 64-bit library (official source code compiled version).
http://www.lfd.uci.edu/~gohlke/pythonlibs/
64-bit Win7 how to install PiL