Hi, I hope someone can help. My jupiter notebook was running just fine yesterday but today I get an error on import statsmodels.tsa.stattools as ts that the statsmodels module can not be found. i pip installed again and it says
Requirement already satisfied: statsmodels in ./.local/lib/python3.8/site-packages (0.12.1)
That is odd since you don’t think you changed anything. On the chance you aren’t using pip in same environment…
If you use conda at all, try running the following a new cell inside your notebook where you specifically want to import:
%conda install statsmodels
If you aren’t using conda at all, try running the following a new cell inside your notebook where you want to import:
%pip install statsmodels
Restart your kernel after either of those steps and try your import again.