Cannot set experiment in a non-ML runtime
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 06:16 AM
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,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 03:57 AM
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. 😞
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 06:58 AM
%pip install mlflow
dbutils.library.restartPython()
that works