I have tried to use LSTM model architecture for prediction. When I have installed tensorflow via pip, I have had index error. After I uninstall tensorflow and reinstall via conda, it worked without errors.