sparse-intern-71089
11/09/2022, 7:35 PMthankful-stone-34269
11/09/2022, 7:38 PMpulumi up we're getting
ModuleNotFoundError: No module named 'pulumi_azure'
I run pip install pulumi-azure and that succeeds, but I still get the error. But I think the problem is when I run pulumi CLI, it's using whatever version of python it decided to use when I installed the CLI, not the python env my bash is connected to. How do I get my pulumi CLI to sync with my python environment?thankful-stone-34269
11/09/2022, 7:40 PMpip install pulumi is how the CLI installed. And then when I ran pulumi up it just runs the pulumi from the current python environment. Managing python environments is complicated. The fact that the CLI lives in its own python environment is pretty confusing.billowy-army-68599
Pulumi.yaml say? it should be pointing to a venv which you may need to change?thankful-stone-34269
11/09/2022, 7:42 PMvirtualenv: venv - so that's where I need to pip install the libraries?thankful-stone-34269
11/09/2022, 7:46 PMthankful-stone-34269
11/09/2022, 7:47 PMpip install -r requirements.txt I still don't get pulumi-azure module. requirements.txt has pulumi-azure-native>=1.0.0,<2.0.0 but I needed to pip install pulumi-azure explicitly before it would work.