[Python] AttributeError: module 'requests.cookies' has no attribute 'update'

Discussão em 'Python' iniciado por Stack, Fevereiro 20, 2025.

  1. Stack

    Stack Membro Participativo

    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.

    Continue reading...

Compartilhe esta Página