-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
We're trying to use the tap in a uv managed virtual environment and the tap is failing to run due to an import error.
I can reproduce the error with the following command:
uvx tap-bing-ads
Produces the following error:
Traceback (most recent call last):
File "~/Library/Caches/uv/archive-v0/-8L4x22tSjG22uG3pghnO/bin/tap-bing-ads", line 7, in <module>
from tap_bing_ads import main
File "~/Library/Caches/uv/archive-v0/-8L4x22tSjG22uG3pghnO/lib/python3.11/site-packages/tap_bing_ads/__init__.py", line 18, in <module>
import bingads
File "~/Library/Caches/uv/archive-v0/-8L4x22tSjG22uG3pghnO/lib/python3.11/site-packages/bingads/__init__.py", line 3, in <module>
from .service_client import *
File "~/Library/Caches/uv/archive-v0/-8L4x22tSjG22uG3pghnO/lib/python3.11/site-packages/bingads/service_client.py", line 5, in <module>
from .service_info import SERVICE_INFO_DICT
File "~/Library/Caches/uv/archive-v0/-8L4x22tSjG22uG3pghnO/lib/python3.11/site-packages/bingads/service_info.py", line 1, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
This issue is covered in more detail here: https://www.cosmoscalibur.com/en/blog/2025/modulo-pkg-resources-no-encontrado-en-ambientes-uv/
I believe it could be resolved by editing setup.py
to make pkg_resources
an explicit runtime dependency.
dolbinskaBW
Metadata
Metadata
Assignees
Labels
No labels