Closed badjouras closed 1 year ago
Yes, you will need a ~/. databrickscfg to run the scripts from a shell.
Even inside a Databricks notebook? If that's the case, I suggest documenting that in the README for Databricks Notebooks.
It is a general problem if you run Python scripts (or databricks CLI or mlflow CLI ) from inside a notebook. Nothing to do per se with mlflow-export-import. Best to raise the issue at https://community.databricks.com/
See https://github.com/mlflow/mlflow-export-import/blob/master/databricks_notebooks/scripts/Console_Scripts.py. Specify your PAT (token) via two secrets widgets which will in turn create the ~/.databrickscfg file
In a Databricks notebook, I ran
Got back
Running
/local_disk0/.ephemeral_nfs/envs/pythonEnv-41f9030a-e1b2-4b46-b9ce-bcce6f3a95f3/bin/export-run configure
, as suggested, results inDo I need to to configure a .databrickscfg file to make the shell commands work inside a notebook?