PIL Installation on windows98 - from newbie
Steve Holden
sholden at holdenweb.com
Fri Nov 16 09:42:42 EST 2001
"Tech" <vze2q3xh at verizon.net> wrote ...
[ eff-bot asks how loaded, what errors were seen ...]
> 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
>
Aha! Have you tried
import PIL.Image
>
> I had hope that all I had to do was run the
> "py21-pil-1.1.2-20010910.exe" file and it would do everything and I
> could just start using PIL. However, this does not seem to be the
> case. I look for a Setup.py script in directory created by the
> executable, but I found nothing. Do I have to copy the files to a
> different directory? I'm new to python; I have a C++ Builder 4.0
> background. Am I doing anything wrong? Does this answer you
> question?
>
PIL is, I believe, built for Windows using the distutils, the end result of
which is a Windows installer. Did you notice where it installed PIL? Does
this look like the right place?
regards
Steve
--
http://www.holdenweb.com/
More information about the Python-list
mailing list