import error
Closed this issue · 2 comments
731315163 commented
Exception has occurred: ValueError
numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
File "C:\Users\zt\project\testyfc\test.py", line 2, in
import yfinance_cache as yfc
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
ValueRaider commented
How did you install numpy and yfc?
sonique6784 commented
you need to install numpy 1.26.4:
pip install numpy==1.26.4
NumPy recently released version 2.0 that is not compatible with yfinance-cache. see this PR #66
@ValueRaider can you share the version of your environment? (Python, OS and maybe all dependencies)