ValueError: The onnxruntime python package is not installed. Please install it with pip install onnxruntime #2627

Closed
opened 2025-11-11 15:10:58 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @Assassinator-ban on GitHub (Nov 12, 2024).

I created a virtual environment using python3.11.9 on the windows10 system and executedpip install open-webui,After running the startup command, I got an error like this:The onnxruntime python package is not installed. Please install it with pip install onnxruntime
I try to executepip install onnxruntime,but it gave me this hint:(env-openwebui) PS T:\envs> pip install onnxruntime
Requirement already satisfied: onnxruntime in t:\envs\env-openwebui\lib\site-packages (1.20.0)
Requirement already satisfied: coloredlogs in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (15.0.1)
Requirement already satisfied: flatbuffers in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (24.3.25)
Requirement already satisfied: numpy>=1.21.6 in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (1.26.4)
Requirement already satisfied: packaging in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (23.2)
Requirement already satisfied: protobuf in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (4.25.5)
Requirement already satisfied: sympy in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (1.13.1)
Requirement already satisfied: humanfriendly>=9.1 in t:\envs\env-openwebui\lib\site-packages (from coloredlogs->onnxruntime) (10.0)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in t:\envs\env-openwebui\lib\site-packages (from sympy->onnxruntime) (1.3.0)
Requirement already satisfied: pyreadline3 in t:\envs\env-openwebui\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime) (3.5.4), It shows that I have installed it, but I cannot use the startup command to run it.webui
Snipaste_2024-11-13_06-09-48

Originally created by @Assassinator-ban on GitHub (Nov 12, 2024). I created a virtual environment using python3.11.9 on the windows10 system and executedpip install open-webui,After running the startup command, I got an error like this:The onnxruntime python package is not installed. Please install it with `pip install onnxruntime`, I try to executepip install onnxruntime,but it gave me this hint:(env-openwebui) PS T:\envs> pip install onnxruntime Requirement already satisfied: onnxruntime in t:\envs\env-openwebui\lib\site-packages (1.20.0) Requirement already satisfied: coloredlogs in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (15.0.1) Requirement already satisfied: flatbuffers in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (24.3.25) Requirement already satisfied: numpy>=1.21.6 in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (1.26.4) Requirement already satisfied: packaging in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (23.2) Requirement already satisfied: protobuf in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (4.25.5) Requirement already satisfied: sympy in t:\envs\env-openwebui\lib\site-packages (from onnxruntime) (1.13.1) Requirement already satisfied: humanfriendly>=9.1 in t:\envs\env-openwebui\lib\site-packages (from coloredlogs->onnxruntime) (10.0) Requirement already satisfied: mpmath<1.4,>=1.1.0 in t:\envs\env-openwebui\lib\site-packages (from sympy->onnxruntime) (1.3.0) Requirement already satisfied: pyreadline3 in t:\envs\env-openwebui\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime) (3.5.4), It shows that I have installed it, but I cannot use the startup command to run it.webui ![Snipaste_2024-11-13_06-09-48](https://github.com/user-attachments/assets/9a46f722-d2c7-4979-a6c3-b0006a3c443b)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2627