Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'mlflow.utils.name_utils' #571

Closed
lvijnck opened this issue Aug 2, 2024 · 3 comments · Fixed by #573
Closed

No module named 'mlflow.utils.name_utils' #571

lvijnck opened this issue Aug 2, 2024 · 3 comments · Fixed by #573

Comments

@lvijnck
Copy link

lvijnck commented Aug 2, 2024

Description

After installation, getting the following error on kedro run

An error has occurred: No module named 'mlflow.utils.name_utils'  cli.py:212

Context

Unable to run Kedro project after installation

Steps to Reproduce

# Install ml flow
pip install kedro-mlflow

Expected Result

Pipeline runs

Actual Result

Pipeline fails

Your Environment

  • kedro and kedro-mlflow version used (pip show kedro and pip show kedro-mlflow): 0.19.7 and 0.12.2
  • Python version used (python -V): Python 3.11.9
  • Operating system and version: Mac
@lvijnck lvijnck changed the title An error has occurred: No module named 'mlflow.utils.name_utils' No module named 'mlflow.utils.name_utils' Aug 2, 2024
@lvijnck
Copy link
Author

lvijnck commented Aug 2, 2024

Not sure what happened here, I'm using uv to resolve dependencies and it looked like it installed an outdated mlflow version.

Pinned them in my requirements file for now.

kedro-mlflow==0.12.2
mlflow==2.15.0

@Galileo-Galilei
Copy link
Owner

Do you know which version was installed? Maybe I should pin a upper version of the lower bound of mlflow in the package, but there is likely little I can do.

@Galileo-Galilei
Copy link
Owner

The module was introduced in mlflow==1.29.0 and I use it since #481. I've update the requirements to make supported version explicit. Thanks for notifying!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants