infiniflow / ragflow

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

dependency conflict[Question]: #1189

Open Old-Lane opened 1 week ago

Old-Lane commented 1 week ago

Describe your problem

When I run the pip install -r requirements.txt command I get an error:

ERROR: Cannot install -r requirements.txt (line 139), -r requirements.txt (line 77) and pytz==2024.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pytz==2024.1
    pandas 2.2.1 depends on pytz>=2020.1
    volcengine 1.0.141 depends on pytz==2020.5

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
aopstudio commented 1 week ago

You can delete pytz==2024.1 in requirements.txt. It will be automatically installed by other dependencies.

KevinHuSh commented 1 week ago

We have refined the requirements.txt. What about the latest one?

Old-Lane commented 1 week ago

You can delete pytz==2024.1 in requirements.txt. It will be automatically installed by other dependencies.

Thanks, no errors have been reported since then

Old-Lane commented 1 week ago

We have refined the requirements.txt. What about the latest one?

This doesn't work, it's still the same error.

KevinHuSh commented 1 week ago

pytz==2024.1 deleted.

TeslaZY commented 2 days ago

最新的main分支,安装依赖报错。 INFO: pip is looking at multiple versions of volcengine to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r requirements.txt (line 138), -r requirements.txt (line 52) and pycryptodome==3.20.0 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested pycryptodome==3.20.0 minio 7.2.4 depends on pycryptodome volcengine 1.0.141 depends on pycryptodome==3.9.9 需要修改volcengine的依赖版本还是修改pycryptodome的版本。

We have refined the requirements.txt. What about the latest one?