ValueRaider/yfinance-cache

yfinance-cache not compatible with numpy 2.0, python >= 3.9 and appdirs dependencies

Closed this issue · 0 comments

Not compatible with NumPy 2.0

yfinance-cache not compatible with numpy 2.0

triggering error:

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

solution

install numpy 1.26.4 with:

pip install numpy==1.26.4 

Missing Appdirs dependency

yfinance-cache also requires appdirs:

ModuleNotFoundError: No module named 'appdirs'

solution:

pip install appdirs

Requires python 3.9 (zoneinfo)

with python 3.8 following error is shown

ModuleNotFoundError: No module named 'zoneinfo'

zoneinfo was added to python 3.9 hence this yfinance-cache requires 3.9 minimum