Using Talib in backtest

I am trying to use the Talib Python package to calculate RSI-based algorithms. However, the package is not available when the backtest is running , us there way ti solve it

I would recommend installing pandas-ta as it's easier to install the Talib. Custom package installation is covered in the docs.

If you're using Zipline, there is a built-in Pipeline factor for RSI.