Skip to content

Configuring URI #33

Description

@LarkRanger

Hello.
I followed the instructions in the README:

  1. Create env
  2. Activate Env
  3. Use the following:
export-experiment-list --experiments 'all' --output-dir out

But I am getting the following error:

Traceback (most recent call last):
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\Scripts\export-experiment-list-script.py", line 33, in <module>
    sys.exit(load_entry_point('mlflow-export-import==1.0.0', 'console_scripts', 'export-experiment-list')())
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\click\core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 79, in main
    export_experiment_list(experiments, output_dir, export_metadata_tags, notebook_formats, export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment_list.py", line 26, in export_experiment_list
    exporter = ExperimentExporter(client, export_metadata_tags, utils.string_to_list(notebook_formats), export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\experiment\export_experiment.py", line 20, in __init__
    self.run_exporter = RunExporter(self.client, export_metadata_tags, notebook_formats, export_notebook_revision)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\run\export_run.py", line 23, in __init__
    self.dbx_client = DatabricksHttpClient()
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 70, in __init__
    super().__init__("api/2.0", host, token)
  File "C:\Users\ronnye\mlflow-temp\mlflow-export-import\lib\site-packages\mlflow_export_import\common\http_client.py", line 21, in __init__
    raise MlflowExportImportException("MLflow host or token is not configured correctly")
mlflow_export_import.common.MlflowExportImportException: MLflow host or token is not configured correctly

I made sure to set set MLFLOW_TRACKING_URI=http://localhost:5051 (this is on Windows 11).
My Mlflow is running on Kubernetes and I am port-forwarding, but the pf works fine as I have access to it through the browser.
There is no token that I'm aware of.
Still I get this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions