如何解决 databricks-registry-webhooks 的 databricks.proto 的 TypeError?

问题描述 投票:0回答:1

我正在尝试为 Databricks 中的 MLflow 创建 webhook。但是,导入时出现以下 TypeError from databricks_registry_webhooks import RegistryWebhooksClient, JobSpec, HttpUrlSpec

TypeError: Couldn't build proto file into descriptor pool: duplicate file name databricks.proto

这与我在社区网站

此处

发现的问题相同。

python typeerror databricks webhooks mlflow
1个回答
0
投票

%pip install databricks-registry-webhooks mlflow==2.2.2

您可以通过运行来测试是否成功:

from databricks_registry_webhooks import RegistryWebhooksClient, JobSpec, HttpUrlSpec

© www.soinside.com 2019 - 2024. All rights reserved.