It looks like I may have broken my python installa...
# python
It looks like I may have broken my python installation with a clash of azure libraries for key vault. Is there an easy way to recreate the virtual env. Is it ok to delete and create again somehow? This is a WSL2 on Win10 environment
You can just delete the venv folder and remake it with
python -m venv venv
and then reinstall requirements with
venv/bin/pip install -r requirements.txt
Although I think it might automatically do that when you run
pulumi up
if there is no
folder. (like you don't have to remake it yourself)
Ah thanks, that's great, I read something on a blog talking about some pulumi features and looked like the case
Pulumi does recreate the
folder (based on the configuration from
) but please note that it does NOT automatically install dependencies).
So if you get some strange errors complaining about missing
dependency, just explicitly install the dependencies using:
Copy code
source venv/bin/activate
pip install -r requirements.txt
Thanks for the tip, I ran a preview and it built the environment. Today I find out if it's ok or needs the extras