faint-table-42725
08/25/2020, 3:37 PMbrew install pulumi
to obtain the CLI whereas pulumi
in your requirements.txt refers to the Python-specific SDK. When you run pulumi up
it spins up both the engine and a language host. The latter executes your python program within your specified python environment. The diagram in
https://www.pulumi.com/docs/intro/concepts/how-pulumi-works/ provides a useful diagram and more details.rhythmic-napkin-82334
08/25/2020, 4:55 PMprefect_kubernetes
can not be imported, as it is installed in my conda environment, and if I understand the pulumi setup correctly, it should therefore be loaded from the conda environment, right? 🤔faint-table-42725
08/25/2020, 5:30 PMpulumi
from within the shell that has an active conda environment?rhythmic-napkin-82334
08/26/2020, 7:56 AMfaint-table-42725
08/26/2020, 2:59 PMpython
on your PATH
(see https://github.com/pulumi/pulumi/blob/b364296521a8b945ab37874f5c79de770d29d718/sdk/python/python.go#L32) If you’re able to provide a reliable repro of not using the right python (and right virtual environment), I’d be happy to take a look.