ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: Requirement confliction caused by "yfinance"

Open blizzardwj opened this issue 1 year ago • 2 comments

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

blizzardwj avatar Sep 12 '24 01:09 blizzardwj

I encountered the same problem!!!!help help

yimisiyang avatar Sep 12 '24 02:09 yimisiyang

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.

Endless4Summer avatar Sep 12 '24 06:09 Endless4Summer

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

yuzhichang avatar Sep 28 '24 10:09 yuzhichang