I am trying to run a python code in Designer, but when i try to import the exponential smoothing package, it returns an error message saying 'module not found'
But this package is already installed in the python tool
Can somebody identify the problem?
You need to install it, the way how to do it is to Run this workflow as Administrator.
the version of statsmodel is
'statsmodels==0.11.1'
at least for python 3.8/2021.4 - if you need to use another version - you may need to create a separate VENV and run via CLI or try upgrading to the horror of 2024.1 and python3.10. I do not see class statsmodels.tsa.exponential_smoothing.ets.ETSModel( in 0.11.1
you can
from statsmodel.tsa.statspace import sarimax