ModuleNotFoundError: No module named 'statsmodels'

Hello. I just updated my app and get this errora after deploy:

2023-03-15T18:56:31Z app waw [info] File “/workspace/analyzer/”, line 7, in
2023-03-15T18:56:31Z app waw [info] import statsmodels.api as sm
2023-03-15T18:56:31Z app waw [info]ModuleNotFoundError: No module named ‘statsmodels’
Requirements.txt are updated and locally everything works. Do you know, where can be problem?

That looks like an issue with your Dockerfile. Are you able to build it and run it in docker locally? If not make sure, you’ve got a RUN pip install -r requirements.txt line in there.