Configuring URI
Hello. I followed the instructions in the README:
- Create env
- Activate Env
- 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.
https://github.com/amesar/mlflow-export-import#databricks-export-examples [https://opengraph.githubassets.com/5f7bcec87702c4eecf4b943e4e45ef3297ca308edcfe01d0f5412273a18bdad1/amesar/mlflow-export-import]https://github.com/amesar/mlflow-export-import#databricks-export-examples amesar/mlflow-export-import: Export and import MLflow experiments, runs or registered models - GitHubhttps://github.com/amesar/mlflow-export-import#databricks-export-examples Setup. Supports python 3.7.6 or above. Console scripts. Python console scripts (such as export-run, import-run) are provided as a convenience. For a list of scripts see setup.py.. This allows you to use github.com
From: Ronny Efronny @.> Sent: Sunday, January 16, 2022 3:40 PM To: amesar/mlflow-export-import @.> Cc: Subscribed @.***> Subject: [amesar/mlflow-export-import] Configuring URI from Command Line? (Issue #33)
Hello. I followed the instructions in the README:
- Create env
- Activate Env
- 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
I can't quite figure out how to "configure" these things, and it's nowhere to be seen in the README (or maybe I missed it!). Would love some help with this!
— Reply to this email directly, view it on GitHubhttps://github.com/amesar/mlflow-export-import/issues/33, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AANEMEMYR6XBXEWWFYOFFXDUWLRGZANCNFSM5MC4XZ4Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>
+1