packp3d and PIL: "cannot import Image"

from PIL import Image

packp3d packed p3d file error:
“Cannot import name Image”

-o game.p3d -m main.py -r pil

Build was successfule.
Using 1.7.1

Does “import Image” directly work?

Yes.

but what gives?

Another problem: can’t generate a procedural image and put it in a folder.