Originally created by @motin on GitHub (Jun 7, 2024).
Bug Report
Description
Bug Summary:
Pypi package installs files outside the open_webui namespace in site-packages
Steps to Reproduce:
poetry init
poetry add open-webui
poetry install
Check .venv/lib/python3.11/site-packages/
Expected Behavior:
All files related to open webui are inside the open_webui folder.
Actual Behavior:
Only the frontend folder and a __init__.py file is inside the open_webui folder. The rest are installed in the root of site-packages, including a main.py file right at .venv/lib/python3.11/site-packages/main.py. This may lead to import errors depending on which other dependencies are installed in the same venv.
Environment
Open WebUI Version: 0.2.5
Operating System: Latest MacOS
Reproduction Details
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
[n/a] I have included the browser console logs.
[n/a] I have included the Docker container logs.
Logs and Screenshots
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
@tcztzy commented on GitHub (Jun 8, 2024):
> @tcztzy
It needs refactoring all the python codes.
https://github.com/open-webui/open-webui/issues/1885#issuecomment-2095315233
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @motin on GitHub (Jun 7, 2024).
Bug Report
Description
Bug Summary:
Pypi package installs files outside the open_webui namespace in site-packages
Steps to Reproduce:
poetry init
poetry add open-webui
poetry install
Check
.venv/lib/python3.11/site-packages/Expected Behavior:
All files related to open webui are inside the open_webui folder.
Actual Behavior:
Only the frontend folder and a __init__.py file is inside the open_webui folder. The rest are installed in the root of site-packages, including a main.py file right at
.venv/lib/python3.11/site-packages/main.py. This may lead to import errors depending on which other dependencies are installed in the same venv.Environment
Open WebUI Version: 0.2.5
Operating System: Latest MacOS
Reproduction Details
Confirmation:
Logs and Screenshots
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Poetry
Additional Information
The METADATA file of the open_webui package:
@tjbck commented on GitHub (Jun 7, 2024):
@tcztzy
@tcztzy commented on GitHub (Jun 8, 2024):
It needs refactoring all the python codes.
https://github.com/open-webui/open-webui/issues/1885#issuecomment-2095315233
@tjbck commented on GitHub (Sep 21, 2024):
Resolved