Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails with pip installing the backend v0.3.7 with: No matching distribution found for unstructured==0.14.0 #3585

Closed
4 tasks done
deniercounter opened this issue Jul 2, 2024 · 2 comments

Comments

@deniercounter
Copy link

Bug Report

Description

Bug Summary:
[Provide a brief but clear summary of the bug]
I installed the first time open-webui after having installed ollama and created a conda env ´openwebui´.

Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]

  1. Git clone the repo locally
  2. Create a conda env ´openwebui´:
conda create --name openwebui python=3.11
  1. Activate the conda env in the local repo dir
conda activate openwebui
  1. cd backend

pip install -r requirements.txt
  1. At the end of the installation I get:
...
...
Collecting python-pptx==0.6.23 (from -r requirements.txt (line 42))
  Using cached python_pptx-0.6.23-py3-none-any.whl.metadata (18 kB)
ERROR: Ignored the following yanked versions: 0.8.3, 0.10.19.dev18
ERROR: Ignored the following versions that require a different python version: 0.12.0 Requires-Python >=3.9.0,<3.12; 0.12.2 Requires-Python >=3.9.0,<3.12; 0.12.3 Requires-Python >=3.9.0,<3.12; 0.12.4 Requires-Python >=3.9.0,<3.12; 0.12.5 Requires-Python >=3.9.0,<3.12; 0.12.6 Requires-Python >=3.9.0,<3.12; 0.13.0 Requires-Python <3.12,>=3.9.0; 0.13.1 Requires-Python <3.12,>=3.9.0; 0.13.2 Requires-Python <3.12,>=3.9.0; 0.13.3 Requires-Python <3.12,>=3.9.0; 0.13.4 Requires-Python <3.12,>=3.9.0; 0.13.5 Requires-Python <3.12,>=3.9.0; 0.13.6 Requires-Python <3.12,>=3.9.0; 0.13.7 Requires-Python <3.12,>=3.9.0; 0.14.0 Requires-Python <3.12,>=3.9.0
ERROR: Could not find a version that satisfies the requirement unstructured==0.14.0 (from versions: 0.0.1.dev0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6.dev1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13, 0.4.14, 0.4.15, 0.4.16, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.5.10, 0.5.11, 0.5.12, 0.5.13, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.6.10, 0.6.11, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.11, 0.7.12, 0.8.0, 0.8.1, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.12, 0.10.13, 0.10.14, 0.10.15, 0.10.16, 0.10.18, 0.10.19, 0.10.20, 0.10.21, 0.10.22, 0.10.23, 0.10.24, 0.10.25, 0.10.26, 0.10.27, 0.10.28, 0.10.29, 0.10.30, 0.11.0, 0.11.1, 0.11.2, 0.11.4, 0.11.5, 0.11.6, 0.11.7, 0.11.8, 0.14.2.dev1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.14.8, 0.14.9)
ERROR: No matching distribution found for unstructured==0.14.0

Expected Behavior:
Installation of the backend doesn't end with error.

Actual Behavior:
ERROR: No matching distribution found for unstructured==0.14.0

Environment

  • Open WebUI Version: 0.3.7
  • Ollama (if applicable): ollama version is 0.1.48
  • Operating System: macOS Sonoma 14.5

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.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Browser Console Logs:
[Include relevant browser console logs, if applicable]

pip install -r requirements.txt -U                                                                                                                                  ─╯
Collecting fastapi==0.111.0 (from -r requirements.txt (line 1))
  Using cached fastapi-0.111.0-py3-none-any.whl.metadata (25 kB)
Collecting uvicorn==0.22.0 (from uvicorn[standard]==0.22.0->-r requirements.txt (line 2))
  Using cached uvicorn-0.22.0-py3-none-any.whl.metadata (6.3 kB)
Collecting pydantic==2.7.1 (from -r requirements.txt (line 3))
  Using cached pydantic-2.7.1-py3-none-any.whl.metadata (107 kB)
Collecting python-multipart==0.0.9 (from -r requirements.txt (line 4))
  Using cached python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB)
Collecting Flask==3.0.3 (from -r requirements.txt (line 6))
  Using cached flask-3.0.3-py3-none-any.whl.metadata (3.2 kB)
Collecting Flask-Cors==4.0.1 (from -r requirements.txt (line 7))
  Using cached Flask_Cors-4.0.1-py2.py3-none-any.whl.metadata (5.5 kB)
Collecting python-socketio==5.11.3 (from -r requirements.txt (line 9))
  Using cached python_socketio-5.11.3-py3-none-any.whl.metadata (3.2 kB)
Collecting python-jose==3.3.0 (from -r requirements.txt (line 10))
  Using cached python_jose-3.3.0-py2.py3-none-any.whl.metadata (5.4 kB)
Collecting passlib==1.7.4 (from passlib[bcrypt]==1.7.4->-r requirements.txt (line 11))
  Using cached passlib-1.7.4-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting requests==2.32.2 (from -r requirements.txt (line 13))
  Using cached requests-2.32.2-py3-none-any.whl.metadata (4.6 kB)
Collecting aiohttp==3.9.5 (from -r requirements.txt (line 14))
  Using cached aiohttp-3.9.5-cp312-cp312-macosx_11_0_arm64.whl.metadata (7.5 kB)
Collecting peewee==3.17.5 (from -r requirements.txt (line 15))
  Using cached peewee-3.17.5.tar.gz (3.0 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting peewee-migrate==1.12.2 (from -r requirements.txt (line 16))
  Using cached peewee_migrate-1.12.2-py3-none-any.whl.metadata (5.4 kB)
Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 17))
  Using cached psycopg2_binary-2.9.9-cp312-cp312-macosx_11_0_arm64.whl.metadata (4.4 kB)
Collecting PyMySQL==1.1.1 (from -r requirements.txt (line 18))
  Using cached PyMySQL-1.1.1-py3-none-any.whl.metadata (4.4 kB)
Collecting bcrypt==4.1.3 (from -r requirements.txt (line 19))
  Using cached bcrypt-4.1.3-cp39-abi3-macosx_10_12_universal2.whl.metadata (9.5 kB)
Collecting SQLAlchemy (from -r requirements.txt (line 20))
  Using cached SQLAlchemy-2.0.31-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.6 kB)
Collecting pymongo (from -r requirements.txt (line 21))
  Using cached pymongo-4.8.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (22 kB)
Collecting redis (from -r requirements.txt (line 22))
  Using cached redis-5.0.7-py3-none-any.whl.metadata (9.3 kB)
Collecting boto3==1.34.110 (from -r requirements.txt (line 23))
  Using cached boto3-1.34.110-py3-none-any.whl.metadata (6.6 kB)
Collecting argon2-cffi==23.1.0 (from -r requirements.txt (line 25))
  Using cached argon2_cffi-23.1.0-py3-none-any.whl.metadata (5.2 kB)
Collecting APScheduler==3.10.4 (from -r requirements.txt (line 26))
  Using cached APScheduler-3.10.4-py3-none-any.whl.metadata (5.7 kB)
Collecting openai (from -r requirements.txt (line 29))
  Using cached openai-1.35.7-py3-none-any.whl.metadata (21 kB)
Collecting anthropic (from -r requirements.txt (line 30))
  Using cached anthropic-0.30.1-py3-none-any.whl.metadata (18 kB)
Collecting google-generativeai==0.5.4 (from -r requirements.txt (line 31))
  Using cached google_generativeai-0.5.4-py3-none-any.whl.metadata (3.9 kB)
Collecting langchain==0.2.0 (from -r requirements.txt (line 33))
  Using cached langchain-0.2.0-py3-none-any.whl.metadata (13 kB)
Collecting langchain-community==0.2.0 (from -r requirements.txt (line 34))
  Using cached langchain_community-0.2.0-py3-none-any.whl.metadata (8.8 kB)
Collecting langchain-chroma==0.1.2 (from -r requirements.txt (line 35))
  Using cached langchain_chroma-0.1.2-py3-none-any.whl.metadata (1.3 kB)
Collecting fake-useragent==1.5.1 (from -r requirements.txt (line 37))
  Using cached fake_useragent-1.5.1-py3-none-any.whl.metadata (15 kB)
Collecting chromadb==0.5.3 (from -r requirements.txt (line 38))
  Using cached chromadb-0.5.3-py3-none-any.whl.metadata (6.8 kB)
Collecting sentence-transformers==2.7.0 (from -r requirements.txt (line 39))
  Using cached sentence_transformers-2.7.0-py3-none-any.whl.metadata (11 kB)
Collecting pypdf==4.2.0 (from -r requirements.txt (line 40))
  Using cached pypdf-4.2.0-py3-none-any.whl.metadata (7.4 kB)
Collecting docx2txt==0.8 (from -r requirements.txt (line 41))
  Using cached docx2txt-0.8.tar.gz (2.8 kB)
  Preparing metadata (setup.py) ... done
Collecting python-pptx==0.6.23 (from -r requirements.txt (line 42))
  Using cached python_pptx-0.6.23-py3-none-any.whl.metadata (18 kB)
ERROR: Ignored the following yanked versions: 0.8.3, 0.10.19.dev18
ERROR: Ignored the following versions that require a different python version: 0.12.0 Requires-Python >=3.9.0,<3.12; 0.12.2 Requires-Python >=3.9.0,<3.12; 0.12.3 Requires-Python >=3.9.0,<3.12; 0.12.4 Requires-Python >=3.9.0,<3.12; 0.12.5 Requires-Python >=3.9.0,<3.12; 0.12.6 Requires-Python >=3.9.0,<3.12; 0.13.0 Requires-Python <3.12,>=3.9.0; 0.13.1 Requires-Python <3.12,>=3.9.0; 0.13.2 Requires-Python <3.12,>=3.9.0; 0.13.3 Requires-Python <3.12,>=3.9.0; 0.13.4 Requires-Python <3.12,>=3.9.0; 0.13.5 Requires-Python <3.12,>=3.9.0; 0.13.6 Requires-Python <3.12,>=3.9.0; 0.13.7 Requires-Python <3.12,>=3.9.0; 0.14.0 Requires-Python <3.12,>=3.9.0
ERROR: Could not find a version that satisfies the requirement unstructured==0.14.0 (from versions: 0.0.1.dev0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6.dev1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13, 0.4.14, 0.4.15, 0.4.16, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.5.10, 0.5.11, 0.5.12, 0.5.13, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.6.10, 0.6.11, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.11, 0.7.12, 0.8.0, 0.8.1, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.12, 0.10.13, 0.10.14, 0.10.15, 0.10.16, 0.10.18, 0.10.19, 0.10.20, 0.10.21, 0.10.22, 0.10.23, 0.10.24, 0.10.25, 0.10.26, 0.10.27, 0.10.28, 0.10.29, 0.10.30, 0.11.0, 0.11.1, 0.11.2, 0.11.4, 0.11.5, 0.11.6, 0.11.7, 0.11.8, 0.14.2.dev1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.14.8, 0.14.9)
ERROR: No matching distribution found for unstructured==0.14.0

Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]

Installation Method

Manual installation bare metal

Additional Information

Macbook Pro M2 Max 64 GB

@deniercounter
Copy link
Author

In this project I am new. But I saw some security issues with the unstructured module before (#687) contacting AWS what happened like it seems by this unstructured module.

Why is there a strict == version in the project, that is not available. Security issues here?

@tjbck
Copy link
Contributor

tjbck commented Jul 2, 2024

Bumped to 0.14.9 on latest dev!

@tjbck tjbck closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants