ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

dependency conflict[Question]:

Open Old-Lane opened this issue 1 year ago • 6 comments

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

Old-Lane avatar Jun 17 '24 09:06 Old-Lane

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

aopstudio avatar Jun 17 '24 10:06 aopstudio

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

KevinHuSh avatar Jun 18 '24 01:06 KevinHuSh

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 avatar Jun 18 '24 01:06 Old-Lane

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

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

Old-Lane avatar Jun 18 '24 01:06 Old-Lane

pytz==2024.1 deleted.

KevinHuSh avatar Jun 19 '24 00:06 KevinHuSh

最新的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?

TeslaZY avatar Jun 24 '24 04:06 TeslaZY

We've replaced pip with poetry.

yuzhichang avatar Sep 28 '24 10:09 yuzhichang