OSError when accessing MLflow experiment artifacts

Resolve an `OSError` when trying to access, download, or log MLflow experiment artifacts.

Written by Adam Pavlacka

Last published at: May 16th, 2022


You get an OSError: No such file or directory error message when trying to download or log artifacts using one of the following:

  • MlflowClient.download_artifacts()
  • mlflow.[flavor].log_model()
  • mlflow.[flavor].load_model()
  • mlflow.log_artifacts()
OSError: No such file or directory: '/dbfs/databricks/mlflow-tracking/<experiment-id>/<run-id>/artifacts/...'


Your MLflow client is out of date.

Older versions of MLflow do not provide support for artifacts stored in dbfs:/databricks/mlflow-tracking/.


Upgrade to MLflow version 1.9.1 or higher and try again.


pip install --upgrade mlflow

Was this article helpful?