You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
I believe it could be resolved by editing setup.py to make pkg_resources an explicit runtime dependency.
The text was updated successfully, but these errors were encountered:
peter-malcolm-bw
changed the title
Make dependency on pkg_resources package explicit
Make runtime dependency on pkg_resources package explicit
Feb 10, 2025
peter-malcolm-bw
changed the title
Make runtime dependency on pkg_resources package explicit
Make runtime dependency on pkg_resources explicit
Feb 10, 2025
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:
Produces the following error:
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 makepkg_resources
an explicit runtime dependency.The text was updated successfully, but these errors were encountered: