import talib error

Open
#482 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

No repository file or test is named. Start by reproducing the reported TA-Lib installation and import talib on Ubuntu 22.04 with graalpy-24.2.0, then inspect the attached error details and the import path involved. Done means identifying the compatibility failure and adding a regression test or documented fix for this environment.

Written by the indexing model from the issue text.

Description

Describe the bug
Unable to import talib - not sure what changed, but now i'm getting these errors:

Image

To Reproduce
Steps to reproduce the behavior:

  1. 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

  2. Install TA-Lib.
    pip install ta-lib

  3. Import talib in Python.
    import talib

All installed components

Image

Desktop

  • OS:22.04.1-Ubuntu

graalpython version

  • graalpy-24.2.0-linux-amd64
Dominant language
Python
Stars
1.6k
Forks
155
Avg merge
8h 58m
Merged PRs (30d)
39

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oracle/graalpython

All issues in oracle/graalpython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.