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

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. #25

Open
Onetwo31 opened this issue Oct 28, 2021 · 2 comments

Comments

@Onetwo31
Copy link

Hi, thanks for your work. A long time ago I worked about IA and trading, but never found a way to incorporate it too fractured.
I have this error despite I followed your guideline, please could you help me?


(.env) (base) onetwo31@onetwo31-VirtualBox:~/Freqtrade_ia/freqtrade$ python rllib_example.py
Traceback (most recent call last):
File "rllib_example.py", line 6, in
from freqtradegym import TradingEnv
File "/home/onetwo31/Freqtrade_ia/freqtrade/freqtradegym.py", line 12, in
import talib.abstract as ta
File "/home/onetwo31/freqtrade/.env/lib/python3.8/site-packages/talib/init.py", line 52, in
from ._ta_lib import (
File "talib/_ta_lib.pyx", line 1, in init talib._ta_lib
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

@Charlie-Root
Copy link

Charlie-Root commented Jan 14, 2022

Remove and reinstall fixed it

`rm -rf .env/lib/python3.8/site-packages/numpy*

pip install --force-reinstall --no-deps numpy==1.22.0`

@Onetwo31
Copy link
Author

Thanks to reply !

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

No branches or pull requests

2 participants