Open
Description
Describe the bug
Unable to import talib - not sure what changed, but now i'm getting these errors:
To Reproduce
Steps to reproduce the behavior:
-
Install dependencies for TA-Lib.
RUN wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib-0.6.4-src.tar.gz
&& tar -xzf ta-lib-0.6.4-src.tar.gz
&& cd ta-lib-0.6.4
&& ./configure --prefix=/usr
&& make
&& sudo make install -
Install TA-Lib.
pip install ta-lib -
Import talib in Python.
import talib
All installed components
Desktop
- OS:22.04.1-Ubuntu
graalpython version
- graalpy-24.2.0-linux-amd64
Activity
msimacek commentedon Mar 21, 2025
It seems
ta-lib
doesn't recythonize their sources during build, which is needed to apply graalpy-specific compatibility changes in cython. You should be able to make it recythonize if you install cython by hand. Try: