Yfinance 0.2.28 installed instead of the latest 0.2.64

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!

1 Like