Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

FAILED: Deploy to Web App at "Create model package and set IMAGE_LOCATION variable" step #323

Description

@TrilochanK

Hi Team,

I was trying to run the deployment pipeline and planning to deploy the model to Azure web app. But the pipeline was failing continuously at step "Create model package and set IMAGE_LOCATION variable" with error message as given below
"##[error]{'Azure-cli-ml Version': '1.12.0', 'Error': TypeError('package() takes from 2 to 4 positional arguments but 6 were given')}"
Please find the screen shot for the same.
image

The same azure ml package command was working fine in azure cloud shell.

Looking forward for a positive response.

Activity

  1. j-so commented on Sep 4, 2020

    @j-so
    Contributor

    In our ci_dependencies.yml file, we set the azureml SDK version to 1.6.0, which is incompatible with the newest version of the azureml CLI. I have updated the docker image to use azureml SDK version 1.13.0. I will make a PR as well.

    If you are using a different image, you will want to make sure that your versions of the azureml SDK and CLI match.

  2. linked a pull request that will close this issueUpdate azureml sdk to 1.13 #326on Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions