cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
cancel
Showing results for 
Search instead for 
Did you mean: 

"ML Quickstart: Model Training" databrick notebook, module not found issue

DamienSicard
New Contributor III

Hi everybody,

Before jump in my own ML experiment on databricks ML platform, I take a look inside some databricks notebook.

With the first ML notebook, named "ML Quickstart: Model training" it doesn't find the library mlflow (cf image below).

I assume this is a "trivial issue", that could be solved by a command like:

!pip install mlflow

But, I would like to notice the community about this issue.

Does somebody encounter the following issue in this notebook ?

Thanks for your time.

Best,

Damien

mlflow not found

1 ACCEPTED SOLUTION

Accepted Solutions

shan_chandra
Honored Contributor III
Honored Contributor III

mlflow is an inbuilt library with DBR ML run time such as DBR 9.1 LTS ML. Kindly use cluster with ML runtime.

View solution in original post

3 REPLIES 3

shan_chandra
Honored Contributor III
Honored Contributor III

mlflow is an inbuilt library with DBR ML run time such as DBR 9.1 LTS ML. Kindly use cluster with ML runtime.

Kaniz
Community Manager
Community Manager

Hi @Damien Sicard​ ,

If you are running Databricks Runtime version 7.1 or above, run this command :

pip install mlflow

If you are running Databricks Runtime version 6.4 to 7.0, run this command :

dbutils.library.installPyPI("mlflow")

 If you are using a cluster running Databricks Runtime, you must install MLflow.

See "Install a library on a cluster" (AWS|Azure|GCP).

Select Library Source PyPI and enter mlflow in the Package field.

If you are using a cluster running Databricks Runtime ML, MLflow is already installed.

Kaniz
Community Manager
Community Manager

Hi @Damien Sicard​, We haven't heard from you on the last response from @Shanmugavel Chandrakasu​ ​and me, and I was checking back to see if his suggestions helped you. Or else, If you have any solution, please share it with the community as it can be helpful to others.

Also, please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.