[GH-ISSUE #8103] [ERROR: No module named 'open_webui.apps.webui'] on Adding a New Function #69603

Closed
opened 2026-05-13 01:54:49 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @AzizDXT on GitHub (Dec 26, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8103

Bug Report

Title:

[ERROR: No module named 'open_webui.apps.webui'] - Windows 11 / Python 3.11 / Open WebUI v0.5.1


Description:

When running Open WebUI (v0.5.1) on Windows 11 with Python 3.11 after adding a new function, the following error occurs:

[ERROR: No module named 'open_webui.apps.webui']

Environment:

  • OS: Windows 11
  • Python Version: 3.11
  • Open WebUI Version: 0.5.1

Steps to Reproduce:

  1. Install Open WebUI:
    pip install "C:\Users\abdul\Downloads\open-webui-0.5.1.tar.gz"
    
  2. Add a new function to apps/webui.py:
    def new_function():
        print("This is a new function!")
    
  3. Run Open WebUI:
    python -m open_webui
    
  4. Error appears:
    [ERROR: No module named 'open_webui.apps.webui']
    

Expected Behavior:

  • Open WebUI should run without errors.

Actual Behavior:

  • The program fails to run with the mentioned error.

Notes:

  • The issue might be related to module paths or installation problems.

[Open WebUI GitHub Repository](https://github.com/open-webui/open-webui)


This is a simplified bug report to submit to the "Issues" section on GitHub. Let me know if you need help submitting it!

Originally created by @AzizDXT on GitHub (Dec 26, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8103 ### **Bug Report** #### **Title:** [ERROR: No module named 'open_webui.apps.webui'] - Windows 11 / Python 3.11 / Open WebUI v0.5.1 --- #### **Description:** When running Open WebUI (v0.5.1) on Windows 11 with Python 3.11 after adding a new function, the following error occurs: ``` [ERROR: No module named 'open_webui.apps.webui'] ``` --- #### **Environment:** - **OS:** Windows 11 - **Python Version:** 3.11 - **Open WebUI Version:** 0.5.1 --- #### **Steps to Reproduce:** 1. Install Open WebUI: ```bash pip install "C:\Users\abdul\Downloads\open-webui-0.5.1.tar.gz" ``` 2. Add a new function to `apps/webui.py`: ```python def new_function(): print("This is a new function!") ``` 3. Run Open WebUI: ```bash python -m open_webui ``` 4. Error appears: ``` [ERROR: No module named 'open_webui.apps.webui'] ``` --- #### **Expected Behavior:** - Open WebUI should run without errors. #### **Actual Behavior:** - The program fails to run with the mentioned error. --- #### **Notes:** - The issue might be related to module paths or installation problems. --- #### **Repository Link:** [[Open WebUI GitHub Repository](https://github.com/open-webui/open-webui)](https://github.com/open-webui/open-webui) --- This is a simplified bug report to submit to the "Issues" section on GitHub. Let me know if you need help submitting it!
Author
Owner

@dannykorpan commented on GitHub (Dec 26, 2024):

Same problem here, using 0.5.1.

<!-- gh-comment-id:2562905372 --> @dannykorpan commented on GitHub (Dec 26, 2024): Same problem here, using 0.5.1.
Author
Owner

@ghost commented on GitHub (Dec 26, 2024):

Same problem here, using 0.5.1. Previously, everything worked fine with this tool. https://github.com/mhioi/open-webui-stuff/blob/met-tables/tools/MEET-tables/MEET-Tables.py
[ERROR: No module named 'open_webui.apps']

<!-- gh-comment-id:2563006532 --> @ghost commented on GitHub (Dec 26, 2024): Same problem here, using 0.5.1. Previously, everything worked fine with this tool. https://github.com/mhioi/open-webui-stuff/blob/met-tables/tools/MEET-tables/MEET-Tables.py [ERROR: No module named 'open_webui.apps']
Author
Owner

@tjbck commented on GitHub (Dec 26, 2024):

Please read the changelogs before updating, there has been a major refactoring with the backend and functions that utilise internal backend functions will not be compatible. I suggest you reach out to the function author.

<!-- gh-comment-id:2563087119 --> @tjbck commented on GitHub (Dec 26, 2024): Please read the changelogs before updating, there has been a major refactoring with the backend and functions that utilise internal backend functions will not be compatible. I suggest you reach out to the function author.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69603