letter Q
letter Q

Reputation: 15385

Python Image Library installation

I just installed the 1.15 Python Image Library in the following folder:

C:\Python26\Lib\site-packages\

However, when I write

from PIL import Image, ImageOps, ImageDraw

I get a error saying unresolved import. Thanks for the help in advance!

Upvotes: 0

Views: 643

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798536

The actual modules are just Image, ImageOps, ImageDraw; the PIL package is something one particular distro decided to tack on because they thought those module names were too generic, but they're not actually found in PIL.

Upvotes: 1

Related Questions