Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sonique6784 opened this issue Jul 6, 2024 · 0 comments · Fixed by #66
Closed

Comments

@sonique6784
Copy link
Contributor

sonique6784 commented Jul 6, 2024

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

sonique6784 added a commit to sonique6784/yfinance-cache that referenced this issue Jul 6, 2024
yfinance-cache is not compatible with numpy 2.0. 
making sure numpy 1.26 is installed
fix ValueRaider#65
@sonique6784 sonique6784 changed the title yfinance-cache not compatible with numpy 2.0 yfinance-cache not compatible with numpy 2.0, missing zoneinfo and appdirs dependencies Jul 6, 2024
@sonique6784 sonique6784 changed the title yfinance-cache not compatible with numpy 2.0, missing zoneinfo and appdirs dependencies yfinance-cache not compatible with numpy 2.0, python >= 3.9 and appdirs dependencies Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant