infiniflow / ragflow

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

[Question]: Requirement confliction caused by "yfinance" #2379

Closed blizzardwj closed 1 month ago

blizzardwj commented 2 months ago

Describe your problem

When I pip install -r requirement.txt, I got the following prompt. If I comment the line 103 yfinance=0.2.43, will it affect something?

ERROR: Cannot install -r requirements.txt (line 103), -r requirements.txt (line 56) and -r requirements.txt (line 95) because these package versions have conflicting dependencies.

The conflict is caused by:
    pandas 2.2.2 depends on pytz>=2020.1
    volcengine 1.0.146 depends on pytz==2020.5
    yfinance 0.2.43 depends on pytz>=2022.5
yimisiyang commented 2 months ago

I encountered the same problem!!!!help help

mingSummer commented 2 months ago

Describe your problem

When I pip install -r requirement.txt, I got the following prompt. If I comment the line 103 yfinance=0.2.43, will it affect something?

ERROR: Cannot install -r requirements.txt (line 103), -r requirements.txt (line 56) and -r requirements.txt (line 95) because these package versions have conflicting dependencies.

The conflict is caused by:
    pandas 2.2.2 depends on pytz>=2020.1
    volcengine 1.0.146 depends on pytz==2020.5
    yfinance 0.2.43 depends on pytz>=2022.5

You can comment out this dependency, as yfinance is a Python open-source tool that uses Yahoo’s public API to access financial data. You may not use this dependency.

yuzhichang commented 1 month ago

We've replaced pip with poetry. Poetry is much better on dependency management and download speed.