cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Cannot set experiment in a non-ML runtime

yopbibo
Contributor II

Hello,

If we:

%pip install mlflow
import mlflow
mlflow.set_experiment(experiment_name = '/Shared/xx')

we get:

InvalidConfigurationError: You haven't configured the CLI yet! Please configure by entering `/databricks/python_shell/scripts/db_ipykernel_launcher.py configure`

Possible to get it working in recent non-ML runtime?
Thanks,

2 REPLIES 2

yopbibo
Contributor II

hi,
I wrote above that I: %pip install mlflow, then mlflow.set_experiment() and that fails.
You advice me to do: %pip install mlflow, mlflow.set_experiment()
That will fail. ๐Ÿ˜ž

yopbibo
Contributor II

%pip install mlflow
dbutils.library.restartPython()

that works

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group