-
-
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
Mention defusedxml and olefile in installation instructions #7509
Conversation
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Ondrej Baranovič <[email protected]>
I think tkinter should also be mentioned here. It is maintained as part of the Python standard library, but but packaged separately by most distributions. That unfortunately means you cannot install it from PyPI, but depending on where you installed Python from, you will need something like See also #7502 (comment). |
@F30 has said that they are in favour this change by itself, so I'm going to merge this. I originally intended this as an alternative, but it has ended up as an addendum. I think it will be simpler to make any changes regarding tkinter in #7502 |
Pillow uses defusedxml and olefile to read image data. I don't think Pillow uses tkinter, it just interfaces with it. If you don't have tkinter installed, you are not missing out on any Pillow functionality. I also don't expect it to be common for people to install Pillow so that they can manipulate images, and then think about how to display those images in a fully fledged UI. I think it would be far more common for people to decide to build a UI with Python, and then look for a library to prepare images for that. In other words, I think it would make more sense for tkinter to suggest users install Pillow - actually, it does! |
(Text removed.) Lets' continue that discussion over in #7509 (comment). |
Alternative to #7502
Under 'Basic Installation', mention that olefile can additionally be installed to allow Pillow to read FPX and
MIC images.