microsoft / Templates-For-Dynamics-365-Supply-Chain-Management-Demand-Forecasting-With-Azure-Machine-Learning

Samples, templates and setup guides in order to run demand forecasting in Azure Machine Learning Service and integrate with Dynamics 365 SCM
MIT License
13 stars 16 forks source link

AzureML pipeline package update #7

Open Giusmon94 opened 1 year ago

Giusmon94 commented 1 year ago

Hi all,

Yesterday (12/04/2023) azureml-pipeline package for python has been updated. Running the forecast through the pipeline, the package will be updated and the pipeline won't work anymore giving the error below.

I fixed the error specifying the package version to install (1.49.0). Has someone find a different solution?

Thanks, Giuseppe

Logs

run.py logs ``` Traceback (most recent call last): File "run.py", line 20, in from azureml.pipeline.steps import ParallelRunConfig, ParallelRunStep File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/steps/__init__.py", line 26, in from .automl_step import AutoMLStep, AutoMLStepRun File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/steps/automl_step.py", line 26, in from azureml.train.automl import constants File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/train/automl/__init__.py", line 26, in from azureml.train.automl.automlconfig import AutoMLConfig File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/train/automl/automlconfig.py", line 17, in from azureml._common._error_definition.user_error import \ ImportError: cannot import name 'ArgsNotSupportedForScenario' from 'azureml._common._error_definition.user_error' (/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/_common/_error_definition/user_error.py) ```
andreygarmash commented 1 year ago

hi, we're working on making it compatible with the latest version.