Does anyone know, why I am getting below error? ``...
# ask-community
a
Does anyone know, why I am getting below error?
Copy code
Failed due to a ModuleNotFoundError in the Prefect flow at line 10 . The error is caused by the inability to import the name 'deprecated_class' from 'prefect._internal.compatibility.deprecated'.

prefect_gcp module attempting to import deprecated_class
code at line 10 is
from prefect_gcp.bigquery import GcpCredentials, bigquery_query
s
Hi Awaish, 1. Could you share the full traceback as well as your flow (redacted if necessary)? 2. What is the output of
prefect --version
in your terminal? 3. When was the last time this flow ran successfully and with what version?