3 ms·
Just try it. IIRC, to do the PIL import correctly you have to import PIL.Image Turns out that matplotlib (and probably lots of other stuff) does that, and
by semi-extrinsic 1y ago
Just try it. IIRC, to do the PIL import correctly you have to
import PIL.Image
Turns out that matplotlib (and probably lots of other stuff) does that, and then it gets resolved correctly.
- aidos 1y agoOh right, gotcha. I always do from PIL import Image