mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #20177] issue: google-generativeai package is in deprecation and cause uv installation failure #57779
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bloodeagle40234 on GitHub (Dec 26, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20177
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.6.43
Ollama Version (if applicable)
No response
Operating System
macOS Sonoma
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Install successfully open-webui 0.6.43 (newest) package via uv command like this:
Actual Behavior
is failed by package conflict.
Steps to Reproduce
uv init -p 3.12in an arbitrary directoryuv add "open-webui==0.6.43"Logs & Screenshots
Additional Information
After a quick investigation, I found that the error is caused by a conflict in the protobuf package requirements: the google-generativeai package requires
<6.0.0dev, while other dependencies require>=6.0.0.Even though google-generativeai==0.8.6—which is pinned in Open WebUI—is the latest version on PyPI, the google-generativeai library has already been deprecated and is no longer maintained.
It appears that Open WebUI now depends on the newer SDK google-genai, as suggested by the deprecation notice, but I’m not entirely sure if we can simply remove
google-generativeaifrom Open WebUI’s dependencies.When I tested Open WebUI without the google-generativeai package, it seemed to run successfully with a local Ollama setup.
@owui-terminator[bot] commented on GitHub (Dec 26, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#19861 issue:
by QuitHub • Dec 10, 2025 •
bug#20046 issue:
by pierrelouisbescond • Dec 19, 2025 •
bug#19877 issue:
by dotmobo • Dec 11, 2025 •
bug#19864 issue:
by Haervwe • Dec 10, 2025 •
bug#20092 issue:
by VideoRyan • Dec 22, 2025 •
bugShow 5 more related issues
#19777 issue:
by Yaute7 • Dec 05, 2025 •
bug#20019 issue:
by j63440490 • Dec 17, 2025 •
bug#14490 issue: The v0.6.12 update broke Google AI API support
by PixelGames987 • May 29, 2025 •
bug#19438 issue: Icon loading regression
by JoelShepard • Nov 24, 2025 •
bug#19563 issue:
by naruto7g • Nov 28, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@okamototk commented on GitHub (Dec 26, 2025):
@tjbck I found following your commit add google-generativeai package:
c8631660c7But actually, there are no code modification and no reason why added google-generativeai package.
Can we simply remove google-generativeai package to fix this?
I also can't find any google.generativeai dependency in all of open-webui projects:
https://github.com/search?q=org%3Aopen-webui%20google.generativeai&type=code
new google.genai package is only used in google_manifold_pipeline.py
https://github.com/search?q=org%3Aopen-webui+google.genai&type=code
In this case, I think we can safely delete google.generativeai dependency.
@Classic298 commented on GitHub (Dec 30, 2025):
(fixed in dev)