mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #22479] issue: pip install fails when MariaDB Connector/C is not installed (mariadb_config not found) #35248
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 @ShirasawaSama on GitHub (Mar 9, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22479
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.8.10
Ollama Version (if applicable)
No response
Operating System
MacOS 26.1
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
pip install -r backend/requirements.txt(or installing backend dependencies via the project’s normal setup) completes successfully on a clean environment (e.g. new venv on macOS) without requiring system-level MariaDB libraries.Actual Behavior
pip install -r backend/requirements.txtfails while building themariadbpackage with:mariadb_config: command not foundOSError: mariadb_config not foundSteps to Reproduce
brew install mariadb-connector-c):mariadbwheel, withmariadb_config not found/OSError: mariadb_config not found.Logs & Screenshots
Additional Information
No response
@ShirasawaSama commented on GitHub (Mar 9, 2026):
I suggest to make
mariadboptional inbackend/requirements.txt, consistent withpyproject.tomlwhere it's already under[project.optional-dependencies]→mariadb. Only require it when the user enables MariaDB (e.g. vector DB). Document that installing the optionalmariadbextra (or the mariadb line in requirements) requires MariaDB Connector/C to be installed first (and link to installation instructions per OS).@tjbck commented on GitHub (Mar 11, 2026):
Removed from requirements.txt