Import mlflow Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 10:51 AM - edited 04-04-2024 10:52 AM
Hello,
I am trying to replicate this motebook in my environment:
mlflow-end-to-end-example - Databricks
However, I am getting the following error when I run "import mlflow":
"TypeError: bases must be types"
How can I solve this issue?
Thank you,
Tanjil
- Labels:
-
Automl
-
Feature Store
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 04:59 PM
Can you share the specific cell of the notebook where you are receiving this error? Have you modified the code or it is the same? Do you have any particular libraries installed on the cluster you are using for the testing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 10:11 AM
The error is generated in cell 21, in the line "import mlflow".
No modifications have been made to the code.
Cluster details: 10.4 LTS (includes Apache Spark 3.2.1, Scala 2.12)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 11:42 AM
Hello @tanjil
Thank you for contacting databricks community support. Could you check what version of protobuf you have?
If you are using 10.4 ML cluster, the MLflow 1.x is not compatible with protobuf 4.x. The default version of protobuf in MLR 10.4 is 3.17.2. We recommend that you can either downgrade protobuf to 3.17.2 or upgrade MLflow to 2.x. Thanks