My app is not deploying because of talib

TA-Lib is indeed a somewhat difficult case. The Python library requires the installation of the underlying C-library. Unfortunately, this is not available as a Debian package and must therefore be downloaded and compiled yourself. Compiling your own packages is not provided by default on Streamlit Cloud. The solution from the linked thread above is therefore rather a hack.


However, if you search on pypi, you will find some forks that provide a precompiled version as a wheel. This one ta-lib-bin might be the most promising:

With this, without any hacks, just use the following package in requirements.txt file:

ta-lib-bin
3 Likes