Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can PIL be replaced with 'pillow' ? #9

Closed
jefflomax opened this issue Jan 7, 2018 · 2 comments
Closed

Can PIL be replaced with 'pillow' ? #9

jefflomax opened this issue Jan 7, 2018 · 2 comments

Comments

@jefflomax
Copy link

There is no PIL import for Python 3.6.3, according to this post, PIL is abandoned and shouldn't be used.

https://www.reddit.com/r/Python/comments/5mph2q/how_do_you_install_pil_to_python_360/

@jefflomax
Copy link
Author

jefflomax commented Jan 7, 2018

For other Python newbies, pip install pillow to get around the missing import (compatible with Python 3.6.3)
from PIL import Image

And do not rename the import from PIL to pillow.
(There goes the principle of least astonishment)

@matteo-dunnhofer
Copy link
Owner

Thank you @jefflomax !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants