We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Import package in python tool

Gabriel123
5 - Atom

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?

3 REPLIES 3
OTrieger
13 - Pulsar

@Gabriel123 

Only one package is installed, ETSModle the other one is not.

 

pp.PNG

OTrieger
13 - Pulsar

You need to install it, the way how to do it is to Run this workflow as Administrator.

apathetichell
20 - Arcturus

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

Labels
Top Solution Authors