<@U04S8PLJWMT> Why does Pyairbyte, when using sour...
# ask-ai
c
@kapa.ai Why does Pyairbyte, when using source-mailchimp, say “ModuleNotFoundError: No module named ‘source_declarative_manifest’”
k
The error “ModuleNotFoundError: No module named ‘source_declarative_manifest’” when using PyAirbyte with source-mailchimp typically indicates that the required Python module source_declarative_manifest is missing from your environment. Based on the knowledge sources, this module is part of the Airbyte connector framework and is necessary for running connectors built with the declarative manifest approach. If this module (or its dependencies) is not installed, you will encounter this error. A similar issue was reported with another connector, where the error message “Could not load module source_declarative_manifest.components” appeared. The root cause in that case was a missing dependency (specifically, the pendulum library), which was not included in the connector’s environment. The solution involved updating the connector to avoid using the missing dependency or ensuring all required dependencies are installed. This suggests that missing modules or dependencies in the connector’s environment can lead to such errors. Ensuring that all dependencies required by the connector are present is crucial for successful execution. If you are running PyAirbyte in a custom environment, make sure all dependencies for the connector are installed, or use a pre-built environment provided by Airbyte to avoid such issues. If the connector was recently updated, it’s also possible that a new dependency was introduced that is not yet included in your environment, so updating your dependencies or the connector itself may help resolve the issue[Github prestashop issue](https://github.com/airbytehq/airbyte/issues/55693). If you continue to encounter this error, check the connector’s documentation or the Airbyte repository for any additional installation steps or required dependencies.
c
How might I fix this for the mailchimp connector?
@kapa.ai How might I fix this for the mailchimp connector so I can at least use it? It seems that old versions aren’t available
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not provide explicit instructions for resolving the “ModuleNotFoundError: No module named ‘source_declarative_manifest’” error specifically for the Mailchimp connector in PyAirbyte. There is no documented workaround or fix for this issue in the provided materials, nor is there information about accessing or using older versions of the connector. However, based on related issues with other connectors, such errors are often due to missing dependencies in the environment, particularly for manifest-only connectors that require the source-declarative-manifest base image or module. The documentation does state that manifest-only connectors must use airbyte/source-declarative-manifest as their base image, but it does not provide steps for resolving missing modules in a PyAirbyte context or for Mailchimp specifically [Airbyte QA checks](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging). If you are encountering this error, it may be due to a mismatch or missing dependency in your environment, but the knowledge sources do not provide a direct solution. You may need to consult the official Airbyte or PyAirbyte documentation or seek support from the Airbyte community for further assistance.