ta-lib-python
ta-lib-python copied to clipboard
Numpy incompatible with Talib
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
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: @.***>
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?
What version should we use? Just downgraded to 1.26.4 and still having issues. Thanks!
"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 Other errors come up now of course, but talib / numpy might be happy now. we'll see....
Released ta-lib 0.5.0 with numpy 2.0 support.
Also released ta-lib 0.4.33 with numpy<2.0 support.