adamant-teacher-18893
10/14/2026, 9:33 PMpulumi new python), and upon the first run (pulumi up), I'm getting this error:
ModuleNotFoundError: No module named 'pkg_resources'future-hairdresser-70637
10/14/2026, 9:51 PMsetuptools and pkg_resources issue with an older pulumi version? what does pulumi version return?adamant-teacher-18893
10/15/2026, 2:15 AM» pulumi version
v3.268.0adamant-teacher-18893
10/15/2026, 2:20 AMpulumiverse-zitadel>=0.2.0 in this project, installed via uv add pulumiverse_zitadeladamant-teacher-18893
10/15/2026, 2:24 AMpulumiverse-zitadel, pulumi up goes throughfuture-hairdresser-70637
10/15/2026, 10:53 AMpulumiverse_zitadel
It uses pkg_resources to read its own version string at import time. pkg_resources comes from setuptools, and uv-created venvs (like plain Python 3.12+ venvs) don’t include setuptools. import pulumiverse_zitadel fails with ModuleNotFoundError: No module named 'pkg_resources'. The provider should switch to importlib.metadata (worth opening an issue in their repo)
You should be able to get around this and still use zitadel via:
uv add 'setuptools<81'