This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.38k
stars
2.71k
forks
source link
Issue Importing 'PipelineComponentBatchDeployment' from 'azure.ai.ml.entities' #32339
I'm encountering an ImportError when trying to import PipelineComponentBatchDeployment from azure.ai.ml.entities.
Things Tried
Checked if the class is available in the version of the SDK I'm using by running dir() on the relevant module.
Created a new Conda environment and reinstalled the SDK.
Checked for the latest version of azureml-sdk and azure-core.
Verified Python and package versions to ensure compatibility.
Reviewed official documentation to see if the class has been deprecated or moved.
Additional Information
The documentation indicates that PipelineComponentBatchDeployment is an experimental feature. However, I'm unable to import it even after following all troubleshooting steps.
Describe the bug
ImportError: cannot import name 'PipelineComponentBatchDeployment' from 'azure.ai.ml.entities'
Installed Packages:
adal: 1.2.7
applicationinsights: 0.11.10
azure-common: 1.1.28
azure-core: 1.29.4
azure-graphrbac: 0.61.1
azure-identity: 1.14.0
azure-mgmt-authorization: 3.0.0
azure-mgmt-containerregistry: 10.2.0
azure-mgmt-core: 1.4.0
azure-mgmt-keyvault: 10.2.3
azure-mgmt-network: 21.0.1
azure-mgmt-resource: 22.0.0
azure-mgmt-storage: 21.0.0
azureml-automl-core: 1.53.1
azureml-core: 1.53.0
azureml-dataprep: 4.12.4
azureml-dataprep-native: 38.0.0
azureml-dataprep-rslex: 2.19.5
azureml-dataset-runtime: 1.53.0
azureml-pipeline: 1.53.0
azureml-pipeline-core: 1.53.0
azureml-pipeline-steps: 1.53.0
azureml-sdk: 1.53.0
azureml-telemetry: 1.53.0
azureml-train-automl-client: 1.53.0
azureml-train-core: 1.53.0
azureml-train-restclients-hyperdrive: 1.53.0
from azure.ai.ml import MLClient, Input
from azure.ai.ml import load_component
from azure.ai.ml.entities import (
BatchEndpoint,
PipelineComponentBatchDeployment,
AmlCompute,
)
from azure.ai.ml.constants import AssetTypes
from azure.identity import DefaultAzureCredential
Description
I'm encountering an
ImportError
when trying to importPipelineComponentBatchDeployment
fromazure.ai.ml.entities
.Things Tried
dir()
on the relevant module.azureml-sdk
andazure-core
.Additional Information
The documentation indicates that
PipelineComponentBatchDeployment
is an experimental feature. However, I'm unable to import it even after following all troubleshooting steps.Describe the bug ImportError: cannot import name 'PipelineComponentBatchDeployment' from 'azure.ai.ml.entities'
Installed Packages: