Não foi possível instalar o TA-Lib no Ubuntu

Estou tentando instalar o Python Ta-Lib no Ubuntu, mas quando executo:

pip install TA-Lib

Eu recebo este erro:

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/

Eu já instalei:

sudo apt-get install python3-dev

e instalou o Ta-lib

Como posso consertar isso?

questionAnswers(2)

yourAnswerToTheQuestion