Reputation: 55
I am trying to creating similar machine learning experiment as on found on github at below link.
what could I do to resolve the ImportEror:?
Upvotes: 2
Views: 1949
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]".
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