infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
21.99k stars 2.16k forks source link

[Bug]: dependency conflict #1824

Closed TeslaZY closed 3 months ago

TeslaZY commented 3 months ago

Is there an existing issue for the same bug?

Branch name

main

Commit ID

5d55e6a0

Other environment information

Ubuntu 22.04

Actual behavior

git clone from repo pip install -r requirements

ERROR: Cannot install -r requirements.txt (line 28), -r requirements.txt (line 35) and mistralai==0.4.2 because these package versions have conflicting dependencies.

The conflict is caused by: groq 0.9.0 depends on pydantic<3 and >=1.9.0 jina 3.27.2 depends on pydantic<2.0.0 mistralai 0.4.2 depends on pydantic<3 and >=2.5.2

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Expected behavior

No response

Steps to reproduce

pip install -r requirements

Additional information

No response

wzncut commented 3 months ago

the same [Bug]

wzncut commented 3 months ago

INFO: pip is looking at multiple versions of mistralai to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r requirements.txt (line 28), -r requirements.txt (line 35) and -r requirements.txt (line 39) because these package versions have conflicting dependencies.

The conflict is caused by: groq 0.9.0 depends on pydantic<3 and >=1.9.0 jina 3.27.2 depends on pydantic<2.0.0 mistralai 0.4.2 depends on pydantic<3 and >=2.5.2