mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 15:53:59 -06:00
[GH-ISSUE #11639] issue: Pillow package not found, please install it with pip install Pillow`
#119613
Reference in New Issue
Block a user
Originally created by @MrDick-11 on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11639
Check Existing Issues
Installation Method
Other
Open WebUI Version
0.5.20
Ollama Version (if applicable)
0.6.0
Operating System
Ubuntu 22.04
Browser (if applicable)
Chrome, Edge
Confirmation
README.md.Expected Behavior
no errors and should work with file
Actual Behavior
Trying to upload 10 MB PDF file with images and I get an error: Pillow
package not found, please install it withpip install Pillow`.Open WEBUI is installed via pipx
Pillow is installed in Open Webui environment: pipx runpip open-webui install Pillow
Requirement already satisfied: Pillow in /root/.local/share/pipx/venvs/open-webui/lib/python3.12/site-packages (11.1.0)
If try to upload small jpg, then no errors and works fine.
Steps to Reproduce
Open WEBUI is installed via pipx
Pillow is installed in Open Webui environment: pipx runpip open-webui install Pillow
Requirement already satisfied: Pillow in /root/.local/share/pipx/venvs/open-webui/lib/python3.12/site-packages (11.1.0)
Logs & Screenshots
Pillow
package not found, please install it withpip install Pillow`Additional Information
No response
@rgaricano commented on GitHub (Mar 13, 2025):
install pypdf with all options
pip install pypdf[full]@toncao commented on GitHub (Mar 14, 2025):
+1. It seems that all the pypdf[full] packages are already installed, but I still get the error on open-webui. Also, I think this error occurs from the PDF Extract Images (OCR) feature, as there's no error when that feature is turned off.