[GH-ISSUE #17606] issue: 0.6.30 fails to start with "Secondary flag is not valid for non-boolean flag" error message #18343

Closed
opened 2026-04-20 00:33:22 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @tigran123 on GitHub (Sep 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17606

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.6.30

Ollama Version (if applicable)

0.12.0

Operating System

Ubuntu Linux 22.04.5

Browser (if applicable)

Chrome 140.0.7339.185

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

The command open-webui serve should start an Open WebUI server on port 8080 of localhost.

Actual Behavior

The command exits with the following error:

$ open-webui  serve
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/tigran/.local/bin/open-webui:8 in <module>                                                 │
│                                                                                                  │
│   5 from open_webui import app                                                                   │
│   6 if __name__ == '__main__':                                                                   │
│   7 │   sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])                         │
│ ❱ 8 │   sys.exit(app())                                                                          │
│   9                                                                                              │
│                                                                                                  │
│ ╭────────────────────────────── locals ───────────────────────────────╮                          │
│ │ app = <typer.main.Typer object at 0x78367eedba40>                   │                          │
│ │  re = <module 're' from '/usr/local/lib/python3.12/re/__init__.py'> │                          │
│ │ sys = <module 'sys' (built-in)>                                     │                          │
│ ╰─────────────────────────────────────────────────────────────────────╯                          │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:326 in __call__                   │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:309 in __call__                   │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:348 in get_command                │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:330 in get_group                  │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:485 in get_group_from_info        │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:579 in get_command_from_info      │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:555 in                            │
│ get_params_convertors_ctx_param_name_from_function                                               │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:888 in get_click_param            │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/core.py:423 in __init__                   │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/click/core.py:2793 in __init__                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Secondary flag is not valid for non-boolean flag.

Steps to Reproduce

  1. pip3.12 install open-webui
  2. open-webui serve

Logs & Screenshots

$ open-webui serve
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/tigran/.local/bin/open-webui:8 in │
│ │
│ 5 from open_webui import app │
│ 6 if name == 'main': │
│ 7 │ sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0]) │
│ ❱ 8 │ sys.exit(app()) │
│ 9 │
│ │
│ ╭────────────────────────────── locals ───────────────────────────────╮ │
│ │ app = <typer.main.Typer object at 0x78367eedba40> │ │
│ │ re = <module 're' from '/usr/local/lib/python3.12/re/init.py'> │ │
│ │ sys = <module 'sys' (built-in)> │ │
│ ╰─────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:326 in call
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:309 in call
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:348 in get_command │
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:330 in get_group │
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:485 in get_group_from_info │
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:579 in get_command_from_info │
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:555 in │
│ get_params_convertors_ctx_param_name_from_function │
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:888 in get_click_param │
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/core.py:423 in init
│ │
│ /home/tigran/.local/lib/python3.12/site-packages/click/core.py:2793 in init
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Secondary flag is not valid for non-boolean flag.
$ ollama --version
ollama version is 0.12.0
$ cat ~/.local/bin/open-webui
#!/usr/local/bin/python3.12

-- coding: utf-8 --

import re
import sys
from open_webui import app
if name == 'main':
sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0])
sys.exit(app())

Additional Information

No response

Originally created by @tigran123 on GitHub (Sep 19, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17606 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.6.30 ### Ollama Version (if applicable) 0.12.0 ### Operating System Ubuntu Linux 22.04.5 ### Browser (if applicable) Chrome 140.0.7339.185 ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior The command `open-webui serve` should start an Open WebUI server on port 8080 of localhost. ### Actual Behavior The command exits with the following error: ``` $ open-webui serve ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/tigran/.local/bin/open-webui:8 in <module> │ │ │ │ 5 from open_webui import app │ │ 6 if __name__ == '__main__': │ │ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │ │ ❱ 8 │ sys.exit(app()) │ │ 9 │ │ │ │ ╭────────────────────────────── locals ───────────────────────────────╮ │ │ │ app = <typer.main.Typer object at 0x78367eedba40> │ │ │ │ re = <module 're' from '/usr/local/lib/python3.12/re/__init__.py'> │ │ │ │ sys = <module 'sys' (built-in)> │ │ │ ╰─────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:326 in __call__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:309 in __call__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:348 in get_command │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:330 in get_group │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:485 in get_group_from_info │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:579 in get_command_from_info │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:555 in │ │ get_params_convertors_ctx_param_name_from_function │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:888 in get_click_param │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/core.py:423 in __init__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/click/core.py:2793 in __init__ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: Secondary flag is not valid for non-boolean flag. ``` ### Steps to Reproduce 1. pip3.12 install open-webui 2. open-webui serve 3. ### Logs & Screenshots $ open-webui serve ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/tigran/.local/bin/open-webui:8 in <module> │ │ │ │ 5 from open_webui import app │ │ 6 if __name__ == '__main__': │ │ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │ │ ❱ 8 │ sys.exit(app()) │ │ 9 │ │ │ │ ╭────────────────────────────── locals ───────────────────────────────╮ │ │ │ app = <typer.main.Typer object at 0x78367eedba40> │ │ │ │ re = <module 're' from '/usr/local/lib/python3.12/re/__init__.py'> │ │ │ │ sys = <module 'sys' (built-in)> │ │ │ ╰─────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:326 in __call__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:309 in __call__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:348 in get_command │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:330 in get_group │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:485 in get_group_from_info │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:579 in get_command_from_info │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:555 in │ │ get_params_convertors_ctx_param_name_from_function │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:888 in get_click_param │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/core.py:423 in __init__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/click/core.py:2793 in __init__ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: Secondary flag is not valid for non-boolean flag. $ ollama --version ollama version is 0.12.0 $ cat ~/.local/bin/open-webui #!/usr/local/bin/python3.12 # -*- coding: utf-8 -*- import re import sys from open_webui import app if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(app()) ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-20 00:33:22 -05:00
Author
Owner

@tigran123 commented on GitHub (Sep 19, 2025):

Probably because some of the dependencies used by open-webui in my system are old. But this would still be a bug, since open-webui should declare the minimum version of each dependency it relies on and it would be automatically upgraded.

<!-- gh-comment-id:3313767505 --> @tigran123 commented on GitHub (Sep 19, 2025): Probably because some of the dependencies used by open-webui in my system are old. But this would still be a bug, since open-webui should declare the minimum version of each dependency it relies on and it would be automatically upgraded.
Author
Owner

@Classic298 commented on GitHub (Sep 19, 2025):

It works fine for me with all the correct dependencies installed.
What if you do another pip install -r requirements.txt ?

<!-- gh-comment-id:3313768021 --> @Classic298 commented on GitHub (Sep 19, 2025): It works fine for me with all the correct dependencies installed. What if you do another pip install -r requirements.txt ?
Author
Owner

@tigran123 commented on GitHub (Sep 19, 2025):

It works fine for me with all the correct dependencies installed. What if you do another pip install -r requirements.txt ?

Wait, you are assuming that I am installing from a cloned repository, so that the file requirements.txt is available, but I just did a pip3.12 install open-webui and this should always work.

<!-- gh-comment-id:3313775515 --> @tigran123 commented on GitHub (Sep 19, 2025): > It works fine for me with all the correct dependencies installed. What if you do another pip install -r requirements.txt ? Wait, you are assuming that I am installing from a cloned repository, so that the file `requirements.txt` is available, but I just did a `pip3.12 install open-webui` and this should always work.
Author
Owner

@Classic298 commented on GitHub (Sep 19, 2025):

my bad, were there any errors during the update process?

<!-- gh-comment-id:3313777530 --> @Classic298 commented on GitHub (Sep 19, 2025): my bad, were there any errors during the update process?
Author
Owner

@tigran123 commented on GitHub (Sep 19, 2025):

Absolutely no errors -- I watched the process on the console and it was all fine. And it was NOT an update, it was a fresh install of version 0.6.30 -- this is on a different machine, than the one running 0.6.28.

<!-- gh-comment-id:3313779660 --> @tigran123 commented on GitHub (Sep 19, 2025): Absolutely no errors -- I watched the process on the console and it was all fine. And it was NOT an update, it was a fresh install of version `0.6.30` -- this is on a different machine, than the one running `0.6.28`.
Author
Owner

@tigran123 commented on GitHub (Sep 21, 2025):

Some more information on this problem: on the machine, where I had 0.6.28 installed, I now did pip3.12 install -U open-webui and it upgraded from 0.6.28 to 0.6.30 successfully. Moreover, Open WebUI started up just fine.

I found another bug -- selecting one of the chats did NOT automatically select the corresponding model. And after selecting it manually and reloading the page the value of the selected model was lost. I will open a separate issue for this.

Anyway, looks like I have to compare the outputs of pip3.12 list on the two machines: one where 0.6.30 works and another where it fails to start. I will let you know the difference.

<!-- gh-comment-id:3315915777 --> @tigran123 commented on GitHub (Sep 21, 2025): Some more information on this problem: on the machine, where I had 0.6.28 installed, I now did `pip3.12 install -U open-webui` and it upgraded from 0.6.28 to 0.6.30 successfully. Moreover, Open WebUI started up just fine. I found another bug -- selecting one of the chats did NOT automatically select the corresponding model. And after selecting it manually and reloading the page the value of the selected model was lost. I will open a separate issue for this. Anyway, looks like I have to compare the outputs of `pip3.12 list` on the two machines: one where 0.6.30 works and another where it fails to start. I will let you know the difference.
Author
Owner

@tigran123 commented on GitHub (Sep 21, 2025):

Here is the patch between working and failing set of python modules:

--- pip3.12-working.list	2025-09-21 12:29:33.632279181 +0100
+++ pip3.12-fail.list	2025-09-21 12:28:42.152474770 +0100
@@ -2,30 +2,29 @@
 ---------------------------------------- ---------------
 absl-py                                  2.1.0
 accelerate                               1.10.1
+adaptive                                 1.2.0
 aiocache                                 0.12.3
 aiofiles                                 24.1.0
 aiohappyeyeballs                         2.6.1
 aiohttp                                  3.12.15
+aiohttp-socks                            0.8.4
 aiosignal                                1.4.0
-alabaster                                0.7.16
 alembic                                  1.14.0
 altair                                   5.3.0
 altgraph                                 0.17.4
 annotated-types                          0.6.0
-anthropic                                0.67.0
+anthropic                                0.68.0
 anyio                                    4.10.0
 appdirs                                  1.4.4
 APScheduler                              3.10.4
 argon2-cffi                              23.1.0
 argon2-cffi-bindings                     21.2.0
-array_record                             0.5.1
 arrow                                    1.3.0
 asgiref                                  3.8.1
 asttokens                                2.4.1
 astunparse                               1.6.3
 async-lru                                2.0.4
-async-timeout                            5.0.1
-atari-py                                 0.2.9
+async-timeout                            4.0.3
 attrs                                    23.2.0
 audioread                                3.0.1
 Authlib                                  1.6.3
@@ -40,36 +39,38 @@
 bcrypt                                   4.3.0
 beautifulsoup4                           4.12.3
 bidict                                   0.23.1
-bitarray                                 3.7.1
 black                                    25.1.0
 bleach                                   6.1.0
-blinker                                  1.7.0
+blinker                                  1.8.2
 blis                                     0.7.11
-blurb                                    1.1.0
+bokeh                                    3.4.1
 boto3                                    1.40.5
-botocore                                 1.40.30
+botocore                                 1.40.34
+bottle                                   0.12.25
 Brotli                                   1.1.0
+browser-cookie3                          0.19.1
 build                                    1.3.0
-bz2file                                  0.98
 cachetools                               5.3.3
-captcha                                  0.6.0
+cairocffi                                1.7.0
+CairoSVG                                 2.7.1
 catalogue                                2.0.10
 certifi                                  2025.8.3
 cffi                                     1.16.0
 chardet                                  5.2.0
 charset-normalizer                       3.3.2
-chex                                     0.1.86
 chromadb                                 1.0.20
-click                                    8.2.1
+click                                    8.3.0
 cloudpathlib                             0.16.0
-cloudpickle                              1.2.2
-colbert-ai                               0.2.21
+cloudpickle                              3.0.0
+colorcet                                 3.1.0
 coloredlogs                              15.0.1
-comm                                     0.2.1
+comm                                     0.2.2
 confection                               0.1.4
 contourpy                                1.2.0
 cryptography                             42.0.5
+cssselect2                               0.7.0
 ctranslate2                              4.6.0
+curl_cffi                                0.6.4
 cycler                                   0.12.1
 cymem                                    2.0.8
 Cython                                   3.0.8
@@ -79,28 +80,26 @@
 debugpy                                  1.8.1
 decorator                                5.1.1
 defusedxml                               0.7.1
-Deprecated                               1.2.18
 dill                                     0.3.8
 distro                                   1.9.0
 Django                                   5.0.3
 dm-tree                                  0.1.8
-docutils                                 0.20.1
+dnspython                                2.6.1
+docstring_parser                         0.17.0
 docx2txt                                 0.8
-dopamine-rl                              3.2.1
+duckduckgo_search                        6.1.5
 durationpy                               0.10
 ecdsa                                    0.19.1
 einops                                   0.8.1
-elastic-transport                        9.1.0
-elasticsearch                            9.1.0
+email_validator                          2.1.1
 emoji                                    2.14.1
 et_xmlfile                               2.0.0
-etils                                    1.8.0
 Events                                   0.5
 executing                                2.0.1
-extra-streamlit-components               0.1.71
 fake-useragent                           2.2.0
 fastai                                   2.7.14
 fastapi                                  0.115.7
+fastapi-cli                              0.0.4
 fastbook                                 0.0.29
 fastcore                                 1.5.29
 fastdownload                             0.0.7
@@ -110,29 +109,23 @@
 filelock                                 3.13.3
 filetype                                 1.2.0
 firecrawl-py                             1.12.0
-Flask                                    3.0.2
+Flask                                    3.0.3
 flatbuffers                              24.3.7
-flax                                     0.8.3
-fonttools                                4.48.1
+fonttools                                4.49.0
 fpdf2                                    2.8.2
 fqdn                                     1.5.1
-FreeSimpleGUI                            5.0.0
 frozendict                               2.4.1
 frozenlist                               1.4.1
 fsspec                                   2024.2.0
 ftfy                                     6.2.3
-future                                   1.0.0
-g4f                                      0.3.1.9
+g4f                                      0.3.2.0
 gast                                     0.5.4
-gevent                                   24.2.1
-gin-config                               0.5.0
-git-python                               1.0.3
 gitdb                                    4.0.11
 GitPython                                3.1.43
 google-ai-generativelanguage             0.6.15
-google-api-core                          2.19.0
-google-api-python-client                 2.127.0
-google-auth                              2.29.0
+google-api-core                          2.25.1
+google-api-python-client                 2.182.0
+google-auth                              2.40.3
 google-auth-httplib2                     0.2.0
 google-auth-oauthlib                     1.2.2
 google-cloud-core                        2.4.3
@@ -144,34 +137,31 @@
 google-resumable-media                   2.7.2
 googleapis-common-protos                 1.70.0
 graphviz                                 0.20.3
-greenlet                                 3.1.1
-groq                                     0.13.0
-grpcio                                   1.67.1
-grpcio-status                            1.62.3
-gunicorn                                 22.0.0
-gym                                      0.14.0
+greenlet                                 3.2.4
+groq                                     0.9.0
+grpcio                                   1.75.0
+grpcio-status                            1.71.2
 h11                                      0.16.0
 h2                                       4.3.0
 h5py                                     3.10.0
 hf-xet                                   1.1.10
+holoviews                                1.18.3
 hpack                                    4.1.0
 html5lib                                 1.1
 httpcore                                 1.0.9
-httplib2                                 0.22.0
+httplib2                                 0.31.0
 httptools                                0.6.4
 httpx                                    0.28.1
 httpx-oauth                              0.14.1
 httpx-sse                                0.4.1
-huggingface-hub                          0.34.4
+huggingface-hub                          0.35.0
 humanfriendly                            10.0
 hyperframe                               6.1.0
 hyperlink                                21.0.0
-hypothesis                               6.99.4
+hypothesis                               6.99.5
 idna                                     3.6
-imageio                                  2.34.0
-imagesize                                1.4.1
-importlib_metadata                       8.4.0
-importlib_resources                      6.4.0
+importlib_metadata                       8.7.0
+importlib_resources                      6.5.2
 iniconfig                                2.0.0
 ipykernel                                6.29.3
 ipython                                  8.21.0
@@ -179,12 +169,11 @@
 ipywidgets                               7.8.1
 isodate                                  0.7.2
 isoduration                              20.11.0
-itsdangerous                             2.1.2
-jax                                      0.4.26
-jaxlib                                   0.4.26
+itsdangerous                             2.2.0
 jedi                                     0.19.1
+jeepney                                  0.8.0
 Jinja2                                   3.1.3
-jiter                                    0.8.0
+jiter                                    0.11.0
 jmespath                                 1.0.1
 joblib                                   1.3.2
 json5                                    0.9.22
@@ -194,20 +183,19 @@
 jsonschema                               4.21.1
 jsonschema-specifications                2023.12.1
 jupyter                                  1.0.0
-jupyter_client                           8.6.0
+jupyter_client                           8.6.1
 jupyter-console                          6.6.3
-jupyter_core                             5.7.1
-jupyter-events                           0.9.0
+jupyter_core                             5.7.2
+jupyter-events                           0.9.1
 jupyter-lsp                              2.2.4
 jupyter_server                           2.13.0
-jupyter_server_proxy                     4.1.0
-jupyter_server_terminals                 0.5.2
+jupyter_server_proxy                     4.1.2
+jupyter_server_terminals                 0.5.3
 jupyterlab                               4.1.4
 jupyterlab_pygments                      0.3.0
-jupyterlab_server                        2.25.3
+jupyterlab_server                        2.25.4
 jupyterlab-widgets                       1.1.7
 keras                                    3.0.5
-kfac                                     0.2.0
 kiwisolver                               1.4.5
 kubernetes                               33.1.0
 langchain                                0.3.26
@@ -216,26 +204,28 @@
 langchain-text-splitters                 0.3.11
 langcodes                                3.3.0
 langdetect                               1.0.9
-langsmith                                0.4.27
+langsmith                                0.4.29
 lazy_loader                              0.3
 ldap3                                    2.9.1
 libclang                                 16.0.6
 librosa                                  0.10.1
 line-profiler                            4.1.2
+linkify-it-py                            2.0.3
 llvmlite                                 0.42.0
 loguru                                   0.7.3
+loky                                     3.4.1
 lxml                                     6.0.1
+lz4                                      4.3.3
 Mako                                     1.3.10
 Markdown                                 3.8.2
 markdown-it-py                           3.0.0
 MarkupSafe                               2.1.5
 marshmallow                              3.26.1
-matplotlib                               3.8.2
+matplotlib                               3.8.3
 matplotlib-inline                        0.1.6
+mdit-py-plugins                          0.4.0
 mdurl                                    0.1.2
 memory-profiler                          0.61.0
-mesh-tensorflow                          0.1.21
-milvus-lite                              2.5.1
 mistune                                  3.0.2
 ml-dtypes                                0.3.2
 mmh3                                     5.2.0
@@ -246,29 +236,26 @@
 msgpack                                  1.0.8
 multidict                                6.0.5
 multiprocess                             0.70.16
-multiset                                 3.1.0
 multitasking                             0.0.11
 murmurhash                               1.0.10
 music21                                  9.1.0
-mypy                                     1.10.0
-mypy-extensions                          1.0.0
+mypy_extensions                          1.1.0
 namex                                    0.0.7
-nbclient                                 0.9.0
+nbclient                                 0.10.0
 nbconvert                                7.16.2
-nbformat                                 5.9.2
+nbformat                                 5.10.2
 nest-asyncio                             1.6.0
 netifaces                                0.11.0
 networkx                                 3.2.1
-ninja                                    1.13.0
 nltk                                     3.9.1
 notebook                                 7.1.1
 notebook_shim                            0.2.4
-Nuitka                                   2.1.5
 numba                                    0.59.0
 numexpr                                  2.9.0
 numpy                                    1.26.4
 nvidia-cublas-cu12                       12.1.3.1
 nvidia-cuda-cupti-cu12                   12.1.105
+nvidia-cuda-nvcc-cu12                    12.3.107
 nvidia-cuda-nvrtc-cu12                   12.1.105
 nvidia-cuda-runtime-cu12                 12.1.105
 nvidia-cudnn-cu12                        8.9.2.26
@@ -277,110 +264,97 @@
 nvidia-cusolver-cu12                     11.4.5.107
 nvidia-cusparse-cu12                     12.1.0.106
 nvidia-nccl-cu12                         2.19.3
-nvidia-nvjitlink-cu12                    12.4.99
+nvidia-nvjitlink-cu12                    12.3.101
 nvidia-nvtx-cu12                         12.1.105
-oauth2client                             4.1.3
 oauthlib                                 3.3.1
 olefile                                  0.47
 onnxruntime                              1.20.1
 open-webui                               0.6.30
-openai                                   1.55.3
-opencv-python                            4.9.0.80
+openai                                   1.108.1
+opencv-python                            4.10.0.82
 opencv-python-headless                   4.11.0.86
 openpyxl                                 3.1.5
 opensearch-py                            2.8.0
-opentelemetry-api                        1.27.0
-opentelemetry-exporter-otlp-proto-common 1.27.0
-opentelemetry-exporter-otlp-proto-grpc   1.27.0
-opentelemetry-proto                      1.27.0
-opentelemetry-sdk                        1.27.0
-opentelemetry-semantic-conventions       0.48b0
+opentelemetry-api                        1.37.0
+opentelemetry-exporter-otlp-proto-common 1.37.0
+opentelemetry-exporter-otlp-proto-grpc   1.37.0
+opentelemetry-proto                      1.37.0
+opentelemetry-sdk                        1.37.0
+opentelemetry-semantic-conventions       0.58b0
 opt-einsum                               3.3.0
-optax                                    0.2.2
-oracledb                                 3.2.0
-orbax-checkpoint                         0.5.10
-ordered-set                              4.1.0
-orjson                                   3.11.3
+oracledb                                 3.3.0
+orjson                                   3.10.4
 overrides                                7.7.0
 packaging                                23.2
 pandas                                   2.2.3
 pandocfilters                            1.5.1
+panel                                    1.4.1
+param                                    2.1.0
 parso                                    0.8.3
 passlib                                  1.7.4
-path                                     16.10.0
 pathspec                                 0.12.1
 patsy                                    0.5.6
-pcsets                                   2.0.0b2
-pdfminer.six                             20240706
 peewee                                   3.18.1
 peewee-migrate                           1.12.2
 pexpect                                  4.9.0
-pickleshare                              0.7.5
 pillow                                   11.3.0
-pinecone                                 6.0.2
-pinecone-plugin-interface                0.0.7
 pip                                      24.0
 platformdirs                             4.2.0
-playwright                               1.49.1
 plotly                                   5.20.0
 pluggy                                   1.4.0
+plyer                                    2.1.0
 pooch                                    1.8.1
-portalocker                              2.10.1
 posthog                                  5.4.0
 preshed                                  3.0.9
-primefac                                 2.0.12
 primp                                    0.15.0
 prometheus_client                        0.20.0
-promise                                  2.3
 prompt-toolkit                           3.0.43
 propcache                                0.3.2
-proto-plus                               1.23.0
-protobuf                                 4.25.3
+proto-plus                               1.26.1
+protobuf                                 5.29.5
+proxy_tools                              0.1.0
 psutil                                   5.9.8
 ptyprocess                               0.7.0
 pure-eval                                0.2.2
 pyarrow                                  20.0.0
 pyarrow-hotfix                           0.6
 pyasn1                                   0.4.8
-pyasn1_modules                           0.4.0
+pyasn1_modules                           0.4.1
 pybase64                                 1.4.2
 pyclipper                                1.3.0.post6
 pycparser                                2.21
 pycrdt                                   0.12.25
 pycryptodome                             3.20.0
+pycryptodomex                            3.20.0
 pydantic                                 2.11.7
 pydantic_core                            2.33.2
 pydantic-settings                        2.10.1
-pydeck                                   0.9.0
+pydeck                                   0.9.1
 pydivsufsort                             0.0.14
 pydot                                    2.0.0
 pydub                                    0.25.1
-pyee                                     12.0.0
-pygame                                   2.5.2
-pyglet                                   1.3.2
+PyExecJS                                 1.5.1
 Pygments                                 2.17.2
-pyinstaller                              6.5.0
-pyinstaller-hooks-contrib                2024.3
+pyinstaller                              6.6.0
+pyinstaller-hooks-contrib                2024.4
 PyJWT                                    2.10.1
 pymdown-extensions                       10.14.2
-pymilvus                                 2.5.0
-PyMuPDF                                  1.24.14
 PyMySQL                                  1.1.1
 pypandoc                                 1.15
 pyparsing                                3.1.1
 pypdf                                    6.0.0
 PyPDF2                                   3.0.1
 PyPika                                   0.48.9
-pypng                                    0.20220715.0
 pyproject_hooks                          1.2.0
 PyQt5                                    5.15.10
 PyQt5-Qt5                                5.15.2
 PyQt5-sip                                12.13.0
-PySimpleGUI                              5.0.4
+PyQt6                                    6.6.1
+PyQt6-Qt6                                6.6.2
+PyQt6-sip                                13.6.0
+pyreqwest_impersonate                    0.4.7
 pytest                                   8.1.1
 python-dateutil                          2.8.2
-python-docs-theme                        2024.3
-python-docx                              1.1.2
 python-dotenv                            1.0.1
 python-engineio                          4.12.2
 python-iso639                            2025.2.18
@@ -391,12 +365,14 @@
 python-oxmsg                             0.0.2
 python-pptx                              1.0.2
 python-socketio                          5.13.0
+python-socks                             2.4.4
 pytube                                   15.0.0
 pytz                                     2024.1
+pyviz_comms                              3.0.2
+pywebview                                5.1
 pyxlsb                                   1.0.10
 PyYAML                                   6.0.1
 pyzmq                                    25.1.2
-qdrant-client                            1.14.3
 qtconsole                                5.5.1
 QtPy                                     2.4.1
 rank-bm25                                0.2.2
@@ -413,10 +389,9 @@
 rfc3986-validator                        0.1.1
 rich                                     13.7.1
 rpds-py                                  0.18.0
-rsa                                      4.9
+rsa                                      4.9.1
 s3transfer                               0.13.1
 safetensors                              0.6.2
-scikit-image                             0.22.0
 scikit-learn                             1.4.1.post1
 scipy                                    1.12.0
 seaborn                                  0.13.2
@@ -425,14 +400,15 @@
 sentencepiece                            0.2.0
 setuptools                               69.1.1
 shapely                                  2.1.1
+shellingham                              1.5.4
 simpervisor                              1.0.0
 simple-websocket                         1.1.0
 six                                      1.16.0
 smart-open                               6.4.0
 smmap                                    5.0.1
 sniffio                                  1.3.1
-snowballstemmer                          2.2.0
 socksio                                  1.0.0
+sortedcollections                        2.1.0
 sortedcontainers                         2.4.0
 soundfile                                0.13.1
 soupsieve                                2.5
@@ -440,14 +416,6 @@
 spacy                                    3.7.4
 spacy-legacy                             3.0.12
 spacy-loggers                            1.0.5
-Sphinx                                   7.2.6
-sphinx-gallery                           0.15.0
-sphinxcontrib-applehelp                  1.0.8
-sphinxcontrib-devhelp                    1.0.6
-sphinxcontrib-htmlhelp                   2.0.5
-sphinxcontrib-jsmath                     1.0.1
-sphinxcontrib-qthelp                     1.0.7
-sphinxcontrib-serializinghtml            1.1.10
 SQLAlchemy                               2.0.38
 sqlparse                                 0.4.4
 srsly                                    2.4.8
@@ -456,34 +424,22 @@
 starlette                                0.45.3
 starlette-compress                       1.6.0
 statsmodels                              0.14.1
-stdlib-list                              0.10.0
-streamlit                                1.40.2
-streamlit-authenticator                  0.4.1
-stripe                                   9.8.0
+streamlit                                1.35.0
+stripe                                   9.10.0
 sympy                                    1.12
 tenacity                                 8.2.3
 tencentcloud-sdk-python                  3.0.1336
-tensor2tensor                            1.15.5
 tensorboard                              2.16.2
 tensorboard-data-server                  0.7.2
 tensorflow                               2.16.1
-tensorflow-datasets                      4.9.4
-tensorflow-gan                           2.1.0
-tensorflow-hub                           0.16.1
-tensorflow-metadata                      1.15.0
-tensorflow-probability                   0.7.0
-tensorstore                              0.1.58
 termcolor                                2.4.0
-terminado                                0.18.0
-tf_keras                                 2.16.0
-tf-slim                                  1.1.0
+terminado                                0.18.1
 tftb                                     0.1.4
 thinc                                    8.2.3
 threadpoolctl                            3.3.0
-tifffile                                 2024.2.12
-tiktoken                                 0.8.0
+tiktoken                                 0.11.0
 tinycss2                                 1.2.1
-tokenizers                               0.22.0
+tokenizers                               0.22.1
 toml                                     0.10.2
 toolz                                    0.12.1
 torch                                    2.2.2
@@ -491,32 +447,33 @@
 tornado                                  6.4
 tqdm                                     4.66.2
 traitlets                                5.14.1
-transformers                             4.56.1
+transformers                             4.56.2
 txaio                                    23.1.1
-typer                                    0.9.0
-types-python-dateutil                    2.8.19.20240106
-typing_extensions                        4.12.2
+typer                                    0.12.3
+types-python-dateutil                    2.8.19.20240311
+typing_extensions                        4.15.0
 typing-inspect                           0.9.0
 typing-inspection                        0.4.1
 tzdata                                   2024.1
 tzlocal                                  5.3.1
-ujson                                    5.11.0
+uc-micro-py                              1.0.3
+ujson                                    5.10.0
 unstructured                             0.16.17
 unstructured-client                      0.42.3
 uri-template                             1.3.0
-uritemplate                              4.1.1
+uritemplate                              4.2.0
 uritools                                 4.0.2
 urlextract                               1.9.0
 urllib3                                  2.5.0
-utils                                    1.0.2
 uvicorn                                  0.35.0
 uvloop                                   0.19.0
 validators                               0.35.0
 vega-datasets                            0.9.0
+versioningit                             3.1.0
 vpython                                  7.6.4
 wasabi                                   1.1.2
-watchdog                                 4.0.0
-watchfiles                               0.21.0
+watchdog                                 4.0.1
+watchfiles                               0.22.0
 wcwidth                                  0.2.13
 weasel                                   0.3.4
 webcolors                                1.13
@@ -529,12 +486,11 @@
 wrapt                                    1.16.0
 wsproto                                  1.2.0
 xlrd                                     2.0.1
-xlsxwriter                               3.2.7
+xlsxwriter                               3.2.9
 xxhash                                   3.4.1
+xyzservices                              2024.4.0
 yarl                                     1.20.1
 yfinance                                 0.2.37
 youtube-transcript-api                   1.1.0
-zipp                                     3.18.1
-zope.event                               5.0
-zope.interface                           6.3
-zstandard                                0.24.0
+zipp                                     3.23.0
+zstandard                                0.25.0

Btw, one important thing is that on the machine, where it fails, I have a very fresh CUDA 13 Toolkit installation (with CUDA 12 Toolkit removed -- though the python supports seems to be there, according to the above list). On the machine, where it works, I have no NVIDIA GPUs whatsoever, so there is no CUDA toolkit there.

<!-- gh-comment-id:3315937426 --> @tigran123 commented on GitHub (Sep 21, 2025): Here is the patch between working and failing set of python modules: ``` --- pip3.12-working.list 2025-09-21 12:29:33.632279181 +0100 +++ pip3.12-fail.list 2025-09-21 12:28:42.152474770 +0100 @@ -2,30 +2,29 @@ ---------------------------------------- --------------- absl-py 2.1.0 accelerate 1.10.1 +adaptive 1.2.0 aiocache 0.12.3 aiofiles 24.1.0 aiohappyeyeballs 2.6.1 aiohttp 3.12.15 +aiohttp-socks 0.8.4 aiosignal 1.4.0 -alabaster 0.7.16 alembic 1.14.0 altair 5.3.0 altgraph 0.17.4 annotated-types 0.6.0 -anthropic 0.67.0 +anthropic 0.68.0 anyio 4.10.0 appdirs 1.4.4 APScheduler 3.10.4 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 -array_record 0.5.1 arrow 1.3.0 asgiref 3.8.1 asttokens 2.4.1 astunparse 1.6.3 async-lru 2.0.4 -async-timeout 5.0.1 -atari-py 0.2.9 +async-timeout 4.0.3 attrs 23.2.0 audioread 3.0.1 Authlib 1.6.3 @@ -40,36 +39,38 @@ bcrypt 4.3.0 beautifulsoup4 4.12.3 bidict 0.23.1 -bitarray 3.7.1 black 25.1.0 bleach 6.1.0 -blinker 1.7.0 +blinker 1.8.2 blis 0.7.11 -blurb 1.1.0 +bokeh 3.4.1 boto3 1.40.5 -botocore 1.40.30 +botocore 1.40.34 +bottle 0.12.25 Brotli 1.1.0 +browser-cookie3 0.19.1 build 1.3.0 -bz2file 0.98 cachetools 5.3.3 -captcha 0.6.0 +cairocffi 1.7.0 +CairoSVG 2.7.1 catalogue 2.0.10 certifi 2025.8.3 cffi 1.16.0 chardet 5.2.0 charset-normalizer 3.3.2 -chex 0.1.86 chromadb 1.0.20 -click 8.2.1 +click 8.3.0 cloudpathlib 0.16.0 -cloudpickle 1.2.2 -colbert-ai 0.2.21 +cloudpickle 3.0.0 +colorcet 3.1.0 coloredlogs 15.0.1 -comm 0.2.1 +comm 0.2.2 confection 0.1.4 contourpy 1.2.0 cryptography 42.0.5 +cssselect2 0.7.0 ctranslate2 4.6.0 +curl_cffi 0.6.4 cycler 0.12.1 cymem 2.0.8 Cython 3.0.8 @@ -79,28 +80,26 @@ debugpy 1.8.1 decorator 5.1.1 defusedxml 0.7.1 -Deprecated 1.2.18 dill 0.3.8 distro 1.9.0 Django 5.0.3 dm-tree 0.1.8 -docutils 0.20.1 +dnspython 2.6.1 +docstring_parser 0.17.0 docx2txt 0.8 -dopamine-rl 3.2.1 +duckduckgo_search 6.1.5 durationpy 0.10 ecdsa 0.19.1 einops 0.8.1 -elastic-transport 9.1.0 -elasticsearch 9.1.0 +email_validator 2.1.1 emoji 2.14.1 et_xmlfile 2.0.0 -etils 1.8.0 Events 0.5 executing 2.0.1 -extra-streamlit-components 0.1.71 fake-useragent 2.2.0 fastai 2.7.14 fastapi 0.115.7 +fastapi-cli 0.0.4 fastbook 0.0.29 fastcore 1.5.29 fastdownload 0.0.7 @@ -110,29 +109,23 @@ filelock 3.13.3 filetype 1.2.0 firecrawl-py 1.12.0 -Flask 3.0.2 +Flask 3.0.3 flatbuffers 24.3.7 -flax 0.8.3 -fonttools 4.48.1 +fonttools 4.49.0 fpdf2 2.8.2 fqdn 1.5.1 -FreeSimpleGUI 5.0.0 frozendict 2.4.1 frozenlist 1.4.1 fsspec 2024.2.0 ftfy 6.2.3 -future 1.0.0 -g4f 0.3.1.9 +g4f 0.3.2.0 gast 0.5.4 -gevent 24.2.1 -gin-config 0.5.0 -git-python 1.0.3 gitdb 4.0.11 GitPython 3.1.43 google-ai-generativelanguage 0.6.15 -google-api-core 2.19.0 -google-api-python-client 2.127.0 -google-auth 2.29.0 +google-api-core 2.25.1 +google-api-python-client 2.182.0 +google-auth 2.40.3 google-auth-httplib2 0.2.0 google-auth-oauthlib 1.2.2 google-cloud-core 2.4.3 @@ -144,34 +137,31 @@ google-resumable-media 2.7.2 googleapis-common-protos 1.70.0 graphviz 0.20.3 -greenlet 3.1.1 -groq 0.13.0 -grpcio 1.67.1 -grpcio-status 1.62.3 -gunicorn 22.0.0 -gym 0.14.0 +greenlet 3.2.4 +groq 0.9.0 +grpcio 1.75.0 +grpcio-status 1.71.2 h11 0.16.0 h2 4.3.0 h5py 3.10.0 hf-xet 1.1.10 +holoviews 1.18.3 hpack 4.1.0 html5lib 1.1 httpcore 1.0.9 -httplib2 0.22.0 +httplib2 0.31.0 httptools 0.6.4 httpx 0.28.1 httpx-oauth 0.14.1 httpx-sse 0.4.1 -huggingface-hub 0.34.4 +huggingface-hub 0.35.0 humanfriendly 10.0 hyperframe 6.1.0 hyperlink 21.0.0 -hypothesis 6.99.4 +hypothesis 6.99.5 idna 3.6 -imageio 2.34.0 -imagesize 1.4.1 -importlib_metadata 8.4.0 -importlib_resources 6.4.0 +importlib_metadata 8.7.0 +importlib_resources 6.5.2 iniconfig 2.0.0 ipykernel 6.29.3 ipython 8.21.0 @@ -179,12 +169,11 @@ ipywidgets 7.8.1 isodate 0.7.2 isoduration 20.11.0 -itsdangerous 2.1.2 -jax 0.4.26 -jaxlib 0.4.26 +itsdangerous 2.2.0 jedi 0.19.1 +jeepney 0.8.0 Jinja2 3.1.3 -jiter 0.8.0 +jiter 0.11.0 jmespath 1.0.1 joblib 1.3.2 json5 0.9.22 @@ -194,20 +183,19 @@ jsonschema 4.21.1 jsonschema-specifications 2023.12.1 jupyter 1.0.0 -jupyter_client 8.6.0 +jupyter_client 8.6.1 jupyter-console 6.6.3 -jupyter_core 5.7.1 -jupyter-events 0.9.0 +jupyter_core 5.7.2 +jupyter-events 0.9.1 jupyter-lsp 2.2.4 jupyter_server 2.13.0 -jupyter_server_proxy 4.1.0 -jupyter_server_terminals 0.5.2 +jupyter_server_proxy 4.1.2 +jupyter_server_terminals 0.5.3 jupyterlab 4.1.4 jupyterlab_pygments 0.3.0 -jupyterlab_server 2.25.3 +jupyterlab_server 2.25.4 jupyterlab-widgets 1.1.7 keras 3.0.5 -kfac 0.2.0 kiwisolver 1.4.5 kubernetes 33.1.0 langchain 0.3.26 @@ -216,26 +204,28 @@ langchain-text-splitters 0.3.11 langcodes 3.3.0 langdetect 1.0.9 -langsmith 0.4.27 +langsmith 0.4.29 lazy_loader 0.3 ldap3 2.9.1 libclang 16.0.6 librosa 0.10.1 line-profiler 4.1.2 +linkify-it-py 2.0.3 llvmlite 0.42.0 loguru 0.7.3 +loky 3.4.1 lxml 6.0.1 +lz4 4.3.3 Mako 1.3.10 Markdown 3.8.2 markdown-it-py 3.0.0 MarkupSafe 2.1.5 marshmallow 3.26.1 -matplotlib 3.8.2 +matplotlib 3.8.3 matplotlib-inline 0.1.6 +mdit-py-plugins 0.4.0 mdurl 0.1.2 memory-profiler 0.61.0 -mesh-tensorflow 0.1.21 -milvus-lite 2.5.1 mistune 3.0.2 ml-dtypes 0.3.2 mmh3 5.2.0 @@ -246,29 +236,26 @@ msgpack 1.0.8 multidict 6.0.5 multiprocess 0.70.16 -multiset 3.1.0 multitasking 0.0.11 murmurhash 1.0.10 music21 9.1.0 -mypy 1.10.0 -mypy-extensions 1.0.0 +mypy_extensions 1.1.0 namex 0.0.7 -nbclient 0.9.0 +nbclient 0.10.0 nbconvert 7.16.2 -nbformat 5.9.2 +nbformat 5.10.2 nest-asyncio 1.6.0 netifaces 0.11.0 networkx 3.2.1 -ninja 1.13.0 nltk 3.9.1 notebook 7.1.1 notebook_shim 0.2.4 -Nuitka 2.1.5 numba 0.59.0 numexpr 2.9.0 numpy 1.26.4 nvidia-cublas-cu12 12.1.3.1 nvidia-cuda-cupti-cu12 12.1.105 +nvidia-cuda-nvcc-cu12 12.3.107 nvidia-cuda-nvrtc-cu12 12.1.105 nvidia-cuda-runtime-cu12 12.1.105 nvidia-cudnn-cu12 8.9.2.26 @@ -277,110 +264,97 @@ nvidia-cusolver-cu12 11.4.5.107 nvidia-cusparse-cu12 12.1.0.106 nvidia-nccl-cu12 2.19.3 -nvidia-nvjitlink-cu12 12.4.99 +nvidia-nvjitlink-cu12 12.3.101 nvidia-nvtx-cu12 12.1.105 -oauth2client 4.1.3 oauthlib 3.3.1 olefile 0.47 onnxruntime 1.20.1 open-webui 0.6.30 -openai 1.55.3 -opencv-python 4.9.0.80 +openai 1.108.1 +opencv-python 4.10.0.82 opencv-python-headless 4.11.0.86 openpyxl 3.1.5 opensearch-py 2.8.0 -opentelemetry-api 1.27.0 -opentelemetry-exporter-otlp-proto-common 1.27.0 -opentelemetry-exporter-otlp-proto-grpc 1.27.0 -opentelemetry-proto 1.27.0 -opentelemetry-sdk 1.27.0 -opentelemetry-semantic-conventions 0.48b0 +opentelemetry-api 1.37.0 +opentelemetry-exporter-otlp-proto-common 1.37.0 +opentelemetry-exporter-otlp-proto-grpc 1.37.0 +opentelemetry-proto 1.37.0 +opentelemetry-sdk 1.37.0 +opentelemetry-semantic-conventions 0.58b0 opt-einsum 3.3.0 -optax 0.2.2 -oracledb 3.2.0 -orbax-checkpoint 0.5.10 -ordered-set 4.1.0 -orjson 3.11.3 +oracledb 3.3.0 +orjson 3.10.4 overrides 7.7.0 packaging 23.2 pandas 2.2.3 pandocfilters 1.5.1 +panel 1.4.1 +param 2.1.0 parso 0.8.3 passlib 1.7.4 -path 16.10.0 pathspec 0.12.1 patsy 0.5.6 -pcsets 2.0.0b2 -pdfminer.six 20240706 peewee 3.18.1 peewee-migrate 1.12.2 pexpect 4.9.0 -pickleshare 0.7.5 pillow 11.3.0 -pinecone 6.0.2 -pinecone-plugin-interface 0.0.7 pip 24.0 platformdirs 4.2.0 -playwright 1.49.1 plotly 5.20.0 pluggy 1.4.0 +plyer 2.1.0 pooch 1.8.1 -portalocker 2.10.1 posthog 5.4.0 preshed 3.0.9 -primefac 2.0.12 primp 0.15.0 prometheus_client 0.20.0 -promise 2.3 prompt-toolkit 3.0.43 propcache 0.3.2 -proto-plus 1.23.0 -protobuf 4.25.3 +proto-plus 1.26.1 +protobuf 5.29.5 +proxy_tools 0.1.0 psutil 5.9.8 ptyprocess 0.7.0 pure-eval 0.2.2 pyarrow 20.0.0 pyarrow-hotfix 0.6 pyasn1 0.4.8 -pyasn1_modules 0.4.0 +pyasn1_modules 0.4.1 pybase64 1.4.2 pyclipper 1.3.0.post6 pycparser 2.21 pycrdt 0.12.25 pycryptodome 3.20.0 +pycryptodomex 3.20.0 pydantic 2.11.7 pydantic_core 2.33.2 pydantic-settings 2.10.1 -pydeck 0.9.0 +pydeck 0.9.1 pydivsufsort 0.0.14 pydot 2.0.0 pydub 0.25.1 -pyee 12.0.0 -pygame 2.5.2 -pyglet 1.3.2 +PyExecJS 1.5.1 Pygments 2.17.2 -pyinstaller 6.5.0 -pyinstaller-hooks-contrib 2024.3 +pyinstaller 6.6.0 +pyinstaller-hooks-contrib 2024.4 PyJWT 2.10.1 pymdown-extensions 10.14.2 -pymilvus 2.5.0 -PyMuPDF 1.24.14 PyMySQL 1.1.1 pypandoc 1.15 pyparsing 3.1.1 pypdf 6.0.0 PyPDF2 3.0.1 PyPika 0.48.9 -pypng 0.20220715.0 pyproject_hooks 1.2.0 PyQt5 5.15.10 PyQt5-Qt5 5.15.2 PyQt5-sip 12.13.0 -PySimpleGUI 5.0.4 +PyQt6 6.6.1 +PyQt6-Qt6 6.6.2 +PyQt6-sip 13.6.0 +pyreqwest_impersonate 0.4.7 pytest 8.1.1 python-dateutil 2.8.2 -python-docs-theme 2024.3 -python-docx 1.1.2 python-dotenv 1.0.1 python-engineio 4.12.2 python-iso639 2025.2.18 @@ -391,12 +365,14 @@ python-oxmsg 0.0.2 python-pptx 1.0.2 python-socketio 5.13.0 +python-socks 2.4.4 pytube 15.0.0 pytz 2024.1 +pyviz_comms 3.0.2 +pywebview 5.1 pyxlsb 1.0.10 PyYAML 6.0.1 pyzmq 25.1.2 -qdrant-client 1.14.3 qtconsole 5.5.1 QtPy 2.4.1 rank-bm25 0.2.2 @@ -413,10 +389,9 @@ rfc3986-validator 0.1.1 rich 13.7.1 rpds-py 0.18.0 -rsa 4.9 +rsa 4.9.1 s3transfer 0.13.1 safetensors 0.6.2 -scikit-image 0.22.0 scikit-learn 1.4.1.post1 scipy 1.12.0 seaborn 0.13.2 @@ -425,14 +400,15 @@ sentencepiece 0.2.0 setuptools 69.1.1 shapely 2.1.1 +shellingham 1.5.4 simpervisor 1.0.0 simple-websocket 1.1.0 six 1.16.0 smart-open 6.4.0 smmap 5.0.1 sniffio 1.3.1 -snowballstemmer 2.2.0 socksio 1.0.0 +sortedcollections 2.1.0 sortedcontainers 2.4.0 soundfile 0.13.1 soupsieve 2.5 @@ -440,14 +416,6 @@ spacy 3.7.4 spacy-legacy 3.0.12 spacy-loggers 1.0.5 -Sphinx 7.2.6 -sphinx-gallery 0.15.0 -sphinxcontrib-applehelp 1.0.8 -sphinxcontrib-devhelp 1.0.6 -sphinxcontrib-htmlhelp 2.0.5 -sphinxcontrib-jsmath 1.0.1 -sphinxcontrib-qthelp 1.0.7 -sphinxcontrib-serializinghtml 1.1.10 SQLAlchemy 2.0.38 sqlparse 0.4.4 srsly 2.4.8 @@ -456,34 +424,22 @@ starlette 0.45.3 starlette-compress 1.6.0 statsmodels 0.14.1 -stdlib-list 0.10.0 -streamlit 1.40.2 -streamlit-authenticator 0.4.1 -stripe 9.8.0 +streamlit 1.35.0 +stripe 9.10.0 sympy 1.12 tenacity 8.2.3 tencentcloud-sdk-python 3.0.1336 -tensor2tensor 1.15.5 tensorboard 2.16.2 tensorboard-data-server 0.7.2 tensorflow 2.16.1 -tensorflow-datasets 4.9.4 -tensorflow-gan 2.1.0 -tensorflow-hub 0.16.1 -tensorflow-metadata 1.15.0 -tensorflow-probability 0.7.0 -tensorstore 0.1.58 termcolor 2.4.0 -terminado 0.18.0 -tf_keras 2.16.0 -tf-slim 1.1.0 +terminado 0.18.1 tftb 0.1.4 thinc 8.2.3 threadpoolctl 3.3.0 -tifffile 2024.2.12 -tiktoken 0.8.0 +tiktoken 0.11.0 tinycss2 1.2.1 -tokenizers 0.22.0 +tokenizers 0.22.1 toml 0.10.2 toolz 0.12.1 torch 2.2.2 @@ -491,32 +447,33 @@ tornado 6.4 tqdm 4.66.2 traitlets 5.14.1 -transformers 4.56.1 +transformers 4.56.2 txaio 23.1.1 -typer 0.9.0 -types-python-dateutil 2.8.19.20240106 -typing_extensions 4.12.2 +typer 0.12.3 +types-python-dateutil 2.8.19.20240311 +typing_extensions 4.15.0 typing-inspect 0.9.0 typing-inspection 0.4.1 tzdata 2024.1 tzlocal 5.3.1 -ujson 5.11.0 +uc-micro-py 1.0.3 +ujson 5.10.0 unstructured 0.16.17 unstructured-client 0.42.3 uri-template 1.3.0 -uritemplate 4.1.1 +uritemplate 4.2.0 uritools 4.0.2 urlextract 1.9.0 urllib3 2.5.0 -utils 1.0.2 uvicorn 0.35.0 uvloop 0.19.0 validators 0.35.0 vega-datasets 0.9.0 +versioningit 3.1.0 vpython 7.6.4 wasabi 1.1.2 -watchdog 4.0.0 -watchfiles 0.21.0 +watchdog 4.0.1 +watchfiles 0.22.0 wcwidth 0.2.13 weasel 0.3.4 webcolors 1.13 @@ -529,12 +486,11 @@ wrapt 1.16.0 wsproto 1.2.0 xlrd 2.0.1 -xlsxwriter 3.2.7 +xlsxwriter 3.2.9 xxhash 3.4.1 +xyzservices 2024.4.0 yarl 1.20.1 yfinance 0.2.37 youtube-transcript-api 1.1.0 -zipp 3.18.1 -zope.event 5.0 -zope.interface 6.3 -zstandard 0.24.0 +zipp 3.23.0 +zstandard 0.25.0 ``` Btw, one important thing is that on the machine, where it fails, I have a very fresh CUDA 13 Toolkit installation (with CUDA 12 Toolkit _removed_ -- though the python supports seems to be there, according to the above list). On the machine, where it works, I have no NVIDIA GPUs whatsoever, so there is no CUDA toolkit there.
Author
Owner

@tigran123 commented on GitHub (Sep 21, 2025):

Also, this problem is NOT specific to version 0.6.30. I have just removed it and installed version 0.6.28 explicitly via pip3.12 install open-webui==0.6.28 and it fails in exactly the same way:

$ open-webui serve
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/tigran/.local/bin/open-webui:8 in <module>                                                 │
│                                                                                                  │
│   5 from open_webui import app                                                                   │
│   6 if __name__ == '__main__':                                                                   │
│   7 │   sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])                         │
│ ❱ 8 │   sys.exit(app())                                                                          │
│   9                                                                                              │
│                                                                                                  │
│ ╭────────────────────────────── locals ───────────────────────────────╮                          │
│ │ app = <typer.main.Typer object at 0x77a5e9fdfa70>                   │                          │
│ │  re = <module 're' from '/usr/local/lib/python3.12/re/__init__.py'> │                          │
│ │ sys = <module 'sys' (built-in)>                                     │                          │
│ ╰─────────────────────────────────────────────────────────────────────╯                          │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:326 in __call__                   │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:309 in __call__                   │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:348 in get_command                │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:330 in get_group                  │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:485 in get_group_from_info        │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:579 in get_command_from_info      │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:555 in                            │
│ get_params_convertors_ctx_param_name_from_function                                               │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:888 in get_click_param            │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/typer/core.py:423 in __init__                   │
│                                                                                                  │
│ /home/tigran/.local/lib/python3.12/site-packages/click/core.py:2793 in __init__                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Secondary flag is not valid for non-boolean flag.

<!-- gh-comment-id:3315938796 --> @tigran123 commented on GitHub (Sep 21, 2025): Also, this problem is NOT specific to version 0.6.30. I have just removed it and installed version 0.6.28 explicitly via `pip3.12 install open-webui==0.6.28` and it fails in exactly the same way: ``` $ open-webui serve ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/tigran/.local/bin/open-webui:8 in <module> │ │ │ │ 5 from open_webui import app │ │ 6 if __name__ == '__main__': │ │ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │ │ ❱ 8 │ sys.exit(app()) │ │ 9 │ │ │ │ ╭────────────────────────────── locals ───────────────────────────────╮ │ │ │ app = <typer.main.Typer object at 0x77a5e9fdfa70> │ │ │ │ re = <module 're' from '/usr/local/lib/python3.12/re/__init__.py'> │ │ │ │ sys = <module 'sys' (built-in)> │ │ │ ╰─────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:326 in __call__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:309 in __call__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:348 in get_command │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:330 in get_group │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:485 in get_group_from_info │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:579 in get_command_from_info │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:555 in │ │ get_params_convertors_ctx_param_name_from_function │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/main.py:888 in get_click_param │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/typer/core.py:423 in __init__ │ │ │ │ /home/tigran/.local/lib/python3.12/site-packages/click/core.py:2793 in __init__ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: Secondary flag is not valid for non-boolean flag. ```
Author
Owner

@tigran123 commented on GitHub (Sep 21, 2025):

Ok, I have found a workaround -- if I force the versions of typer and click to the known stable combination:

pip3.12 install --upgrade 'typer==0.12.5' 'click==8.1.7'

and then re-install open-webui like this:

pip3.12 install --force-reinstall --no-deps open-webui

then open-webui serve works just fine. So, this had nothing to do with NVIDIA Toolkit, it was just the parsing error with Typer/Click as open-webui was building its command-line.

<!-- gh-comment-id:3315952374 --> @tigran123 commented on GitHub (Sep 21, 2025): Ok, I have found a workaround -- if I force the versions of `typer` and `click` to the known stable combination: ``` pip3.12 install --upgrade 'typer==0.12.5' 'click==8.1.7' ``` and then re-install open-webui like this: ``` pip3.12 install --force-reinstall --no-deps open-webui ``` then `open-webui serve` works just fine. So, this had nothing to do with NVIDIA Toolkit, it was just the parsing error with Typer/Click as open-webui was building its command-line.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18343