[Python] Unable to install TA-Lib on Ubuntu

Discussão em 'Python' iniciado por Stack, Março 17, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to install Python Ta-Lib in Ubuntu,but when I run:

    pip install TA-Lib


    I get this error:

    Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-YfCSFn/TA-Lib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-swmI7D-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-YfCSFn/TA-Lib/


    I already installed:

    sudo apt-get install python3-dev


    and installed Ta-lib

    How can I fix this?

    Continue reading...

Compartilhe esta Página