Error in importing mlflow.sklearn

sameer_gupta
Databricks Partner

ImportError: cannot import name '_MIN_SKLEARN_VERSION' from 'mlflow.sklearn.utils' (/databricks/python/lib/python3.8/site-packages/mlflow/sklearn/utils.py)

Prabakar
Databricks Employee
Databricks Employee

hi @Sameer Gupta​ this could be a transient package issue. Check if the module is present. If not try uninstalling and reinstalling sklearn.

Vidula
Databricks Partner

Hi @Sameer Gupta​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!