PyAirbyte icon indicating copy to clipboard operation
PyAirbyte copied to clipboard

[source-youtube-analytics] Issue while installing this conector

Open maloyuso opened this issue 10 months ago • 2 comments

Connector Name

source-youtube-analytics

Connector Version

0.1.6

What step the error happened?

Other

Relevant information

While installing the conector (using "install_if_missing=True"), we always get the following error:

File "/mnt/tmp/pip-build-env-vkcvzdt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 120, in getattr raise AttributeError(attr) AttributeError: cython_sources

I saw that there's a workaround by pre-installing cython<3.0 & PyYaml 5.4.

Relevant log output

File "/mnt/tmp/pip-build-env-vkcvzdt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 120, in __getattr__
              raise AttributeError(attr)
          AttributeError: cython_sources

Contribute

  • [x] Yes, I want to contribute

maloyuso avatar Jan 31 '25 21:01 maloyuso

Can you provide more context about how are you installing the connector?

marcosmarxm avatar Feb 04 '25 14:02 marcosmarxm

Hi @marcosmarxm! Sure, I'm testing it locally:

import airbyte as ab

# Create and install the source:
source: ab.Source = ab.get_source(
    name="source-youtube-analytics",
    install_if_missing=True
)

While installing the dependencies and generating the custom venv, the error we get is:

File "/mnt/tmp/pip-build-env-vkcvzdt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 120, in __getattr__
              raise AttributeError(attr)
          AttributeError: cython_sources

I saw a related issue: https://github.com/airbytehq/airbyte/issues/28391

maloyuso avatar Feb 05 '25 18:02 maloyuso