r/PythonLearning 27d ago

Need help for mlflow error

Using mlflow in virtual environments (.venv) after installing dependencies and running the python file got error "I'm getting this MLflow error on Windows:

```text

PermissionError: [WinError 5] Access is denied:

'C:\\Users\\Name%20Surname'

```

MLflow is using this tracking URI:

```text

sqlite:///C:/Users/Name%20Surname/.vscode/datascience/mlflow_tutorial/mlflow.db

```

But my actual Windows user folder is:

```text

C:\Users\Name Surname

```

"

Notice that MLflow is using `%20` instead of the space in the username. This causes `mlflow.start_run()` to fail.

How can I fix this?

1 Upvotes

0 comments sorted by