This message was deleted.
s
This message was deleted.
c
Simply running
pulumi preview
should do the trick 🙂
🙏 1
t
Well, that does make the
venv
dir for me, but I still get
ModuleNotFoundError: No module named 'pulumi'
Should
Pulumi.yaml
excplicitly point to the runtime in the venv? I have
Copy code
runtime:
    name: python
    options:
        virtualenv: venv
I guess I have to manually
venv/bin/pip install pulumi pulumi_aws
?
Yeah that seems to do it.
e
yeh pulumi will use the venv if the option is set, but doesn't currently try to build the venv. Normally you'll want a requirements.txt file in the repo so you can give that to pip to install with
pip install -r requirement.txt