Raju Choudhari
Raju Choudhari

Reputation: 55

How could I resolve ImportError: no module named 'azureml', I am using Azure databricks notebook

I am trying to creating similar machine learning experiment as on found on github at below link.

https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/automated-machine-learning/forecasting-orange-juice-sales/auto-ml-forecasting-orange-juice-sales.ipynb

what could I do to resolve the ImportEror:?

Upvotes: 2

Views: 1949

Answers (1)

CHEEKATLAPRADEEP
CHEEKATLAPRADEEP

Reputation: 12768

To resolve this issue, I would request you to install azureml library from PyPi packages.

To make third-party or locally-built code available to notebooks and jobs running on your clusters, you can install a library. Libraries can be written in Python, Java, Scala, and R. You can upload Java, Scala, and Python libraries and point to external packages in PyPI, Maven, and CRAN repositories.

Steps to install third-party libraries:

Step1: Create Databricks Cluster.

Step2: Select the cluster created.

Step3: Select Libraries => Install New => Select Library Source = "PYPI" => Package = "azureml-sdk[databricks]".

enter image description here

enter image description here

enter image description here

Reference: Set up a development environment with Azure Databricks and autoML in Azure Machine Learning

For different methods to install packages in Azure Databricks: How to install a library on a databricks cluster using some command in the notebook?

Upvotes: 2

Related Questions