Open JerryYin7 opened 4 days ago
What version of numpy are you using?
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 https://github.com/TA-Lib/ta-lib-python/issues/661#issuecomment-2207900343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAF5A5UILN2N5NPCVN5XZDZKSYW7AVCNFSM6AAAAABKKRZO5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXHEYDAMZUGM . You are receiving this because you commented.Message ID: @.***>
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!!!