-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
The module name is incorrect #7153
Comments
Hi. Pillow is actually a fork of PIL. You can see them as two distinct packages on PyPI - https://pypi.org/project/PIL/ and https://pypi.org/project/Pillow/ - and Pillow is maintained by a different group of people to those that created PIL. You can learn more at https://pillow.readthedocs.io/en/stable/about.html and https://pillow.readthedocs.io/en/stable/porting.html. PIL doesn't support Python 3, so that would be why you were unable to install it. The particular scenario you encountered is one where you somehow bypassed requirements.txt when installing a library - https://github.com/InsuranceToolkits/promptflow/issues/3. I imagine that the name 'PIL' was chosen for our module to make it clear that we were connected to the original package, and to simplify porting code to Pillow. If you just think that |
@ezequielsobrino did that answer your question? If you're requesting that Pillow change module name from 'PIL' to 'Pillow', you understand that is a large change, that would require all users of Pillow to update their code. While you may feel that this simplifies things, others might feel like this is an unnecessary change. It is difficult to balance both. |
Closing this issue as no feedback has been received. |
I ran a python file, got a message that the PIL module did not exist, tried to install PIL but it didn't exist and had to Google to discover the name 'Pillow'.
log console
The text was updated successfully, but these errors were encountered: