PIL Installation on windows98 - from newbie

Jeff Shannon jeff at ccvcorp.com
Fri Nov 16 19:23:57 CET 2001

Tech wrote:

> I downloaded the file for my version of python and ran the setup
> executable that I downloaded.  Next, I tried to test the installation
> by running some of the test scripts that came with PIL.  Each time I
> tried I got the following error...
> Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit (Intel)] on
> win32
> Type "copyright", "credits" or "license" for more information.
> IDLE 0.8 -- press F1 for help
> >>>
> Traceback (most recent call last):
>   File "C:\py21\Samples\viewer.py", line 7, in ?
>     import Image, ImageTk
> ImportError: No module named Image

This is almost certainly a search-path issue.  If you create a file called
PIL.pth in your python directory, containing a single line consisting of the
full path to your PIL installation, that ought to solve the problem.

Jeff Shannon
Credit International

More information about the Python-list mailing list