Auto sarima and timestamp classical decomposition not working

Hi, im currently doing a project on forecasting and my autosarima and timestamp classical decomposition is not running

auto sarima:
ERROR Python Script 6:45:0:53:0:374 Execute failed: ImportError: cannot import name ‘datetime’ from ‘pandas’ (C:\Users\User\AppData\Local\Programs\KNIME\bundling\envs\org_knime_pythonscripting\Lib\site-packages\pandas_init_.py)

timestamp classical decomposition:
WARN WizardNodeView Unable to retrieve value from view

I recall to have faced the same problem. Did you setup your Conda environment i.e. by following?

https://docs.knime.com/2024-06/python_installation_guide/index.html#configure-the-python-environment

PS: I resumed my work on that workflow and here is the solution. IN the Python Script node which fails:

Change this from pandas import datetime to this import datetime

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.