Despite yfinance 0.2.64 being available (as shown on Conda site), - Yfinance | Anaconda.org
when I conda install conda-forge::yfinance
only 0.2.28 was installed.
Thanks for your kind help!
Despite yfinance 0.2.64 being available (as shown on Conda site), - Yfinance | Anaconda.org
when I conda install conda-forge::yfinance
only 0.2.28 was installed.
Thanks for your kind help!
I met the same problem. And when I specify to install a newer version of yfinance, it takes a lot of time âsolving environmentâ and finally fails. So I use pip install instead.
Hello @Edward11,
Sorry about the issue you are having. I am a Product Manager at Anaconda and want to help clarify what is happening.
The problem appears to be a dependency resolution issue. Youâre using conda-forge (a community-maintained channel separate from Anacondaâs official channels), which is necessary since yfinance isnât available on the main Anaconda channel.
Looking at your error, I noticed that newer versions of yfinance (0.2.58+) depend on curl-cffi, which only has builds for linux-64 on conda-forge (see Files | Anaconda.org). This would explain why youâre getting an older version.
What operating system are you using? This would help confirm if the platform compatibility is indeed the issue.
If you need the newer version, you could try a mixed approach:
conda create -n yfinance-env python=3.10
conda activate yfinance-env
pip install yfinance==0.2.64
Let me know if this helps!