Enoch Kranthi
Enoch Kranthi

Reputation: 11

Register Dataset to Azure ML using Axure Devops pipeline

datastore = Datastore.register_azure_blob_container(
            workspace=workspace,
            datastore_name=datastore_name,
            account_name=datastore_account_name, # Storage account name
            container_name=datastore_container_name, # Name of Azure blob container
            account_key=datastore_account_key) # Storage account key

dataset = Dataset.Tabular.from_delimited_files(path = [(datastore, 'udata.csv')])

registered_dataset_name = 'udata set'
registered_dataset_description = 'sample dataset'

dataset.register(workspace=workspace,name=registered_dataset_name,description=registered_dataset_description)

I'm trying to run a python script from azure devops pipeline which will register the data from azure storage to Azure datastore and create dataset. The python script works fine. The registration of Datastore and dataset happens correctly.

But I'm getting an error in Devops pipeline

ERROR: UserErrorException: Message: Failed to load dataset definition with azureml-dataprep==4.12.4. Please install the latest version with "pip install -U azureml-dataprep".

Upvotes: 0

Views: 287

Answers (0)

Related Questions