Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Oh right, gotcha. I always do from PIL import Image




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: