-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Numpy incompatible with Talib #661
Comments
What version of numpy are you using?
|
2.0.0 |
We do not currently support numpy 2
There are pending issues with cython to support it that need fixing first.
…On Wed, Jul 3, 2024 at 8:39 PM JerryYin7 ***@***.***> wrote:
What version of numpy are you using?
2.0.0
—
Reply to this email directly, view it on GitHub
<#661 (comment)>,
or unsubscribe
<https:/notifications/unsubscribe-auth/AAAF5A5UILN2N5NPCVN5XZDZKSYW7AVCNFSM6AAAAABKKRZO5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXHEYDAMZUGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
What version should we use? Just downgraded to 1.26.4 and still having issues. Thanks! |
It should work with any numpy < 2. What issues are you having? |
"numpy==1.19.5" will sovle this issue |
I got mine working in a python 3.12 venv, after installing numpy 1.26.4, and talib 0.4.32 |
Hi,
After I downloaded talib, there is no way for me to run my code. There will be the error message that:
File "/Users/guangzhouzuihoudehaonanren/Desktop/intern/intern.py", line 2, in
import backtrader as bt
File "/Users/guangzhouzuihoudehaonanren/Desktop/intern/quant/lib/python3.12/site-packages/backtrader/init.py", line 86, in
from . import talib as talib
File "/Users/guangzhouzuihoudehaonanren/Desktop/intern/quant/lib/python3.12/site-packages/backtrader/talib.py", line 34, in
import talib
File "/Users/guangzhouzuihoudehaonanren/Desktop/intern/quant/lib/python3.12/site-packages/talib/init.py", line 93, in
from ._ta_lib import (
File "talib/_ta_lib.pyx", line 1, in init talib._ta_lib
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Thanks!!!
The text was updated successfully, but these errors were encountered: