Cloud 没有名为“airflow.contrib.operators.gcp_speech_to_text_operator”的模块

Cloud 没有名为“airflow.contrib.operators.gcp_speech_to_text_operator”的模块,cloud,speech-to-text,google-cloud-composer,Cloud,Speech To Text,Google Cloud Composer,我无法将对账单导入为 from airflow.contrib.operators.gcp_speech_to_text_operator import GcpSpeechToTextRecognizeSpeechOperator 我得到了错误 没有名为“airflow.contrib.operators.gcp_speech_to_text_operator”的模块 我使用的是气流版本1.10.2,作曲家版本是1.7.2gcp_speech_to_text_运算符在1.10.2和1.10.3

我无法将对账单导入为

from airflow.contrib.operators.gcp_speech_to_text_operator import GcpSpeechToTextRecognizeSpeechOperator
我得到了错误 没有名为“airflow.contrib.operators.gcp_speech_to_text_operator”的模块

我使用的是气流版本1.10.2,作曲家版本是1.7.2

gcp_speech_to_text_运算符在1.10.2和1.10.3中都不存在。您可以从中找到它

如果您真的需要它,您可以复制代码并创建一个插件,然后将代码放入composer实例bucket中的plugin目录中。
你可以用我的例子来说明怎么做。请记住,您需要确保您的气流版本是兼容的

您的1.10.4链接已断开。