[GH-ISSUE #11639] issue: Pillow package not found, please install it with pip install Pillow` #16302

Closed
opened 2026-04-19 22:15:57 -05:00 by GiteaMirror · 2 comments
Owner

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

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

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

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

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: Pillowpackage 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

Pillowpackage not found, please install it withpip install Pillow`

Additional Information

No response

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 - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### 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 - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### 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 with `pip 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 with `pip install Pillow` ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:15:57 -05:00
Author
Owner

@rgaricano commented on GitHub (Mar 13, 2025):

install pypdf with all options pip install pypdf[full]

<!-- gh-comment-id:2722504544 --> @rgaricano commented on GitHub (Mar 13, 2025): install pypdf with all options `pip install pypdf[full]`
Author
Owner

@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.

<!-- gh-comment-id:2723704154 --> @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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16302