Rirouk
Rirouk

Reputation: 1

AttributeError: module 'requests.cookies' has no attribute 'update'

I'm trying to download data from yahoo finance. My code use to be working (few days ago) but now I get the error message: "AttributeError: module 'requests.cookies' has no attribute 'update'". I read that it may be because I have a file named like that so I tried: "import yfinance; print(yfinance.file)" but then when I looked into the files that it gave le as a result, none had "requests.cookies" inside. It may be a problem from yfinance itself? Thanks in advance for you help!!

I also tried to update my editor (spyder from anaconda) with pip but it didn't change anything.

Upvotes: -1

Views: 85

Answers (0)

Related Questions