faint-table-4272508/25/2020, 3:37 PM
to obtain the CLI whereas
brew install pulumi
in your requirements.txt refers to the Python-specific SDK. When you run
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-8233408/25/2020, 4:55 PM
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-4272508/25/2020, 5:30 PM
from within the shell that has an active conda environment?
rhythmic-napkin-8233408/26/2020, 7:56 AM
faint-table-4272508/26/2020, 2:59 PM
(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.