This message was deleted.
# python
s
This message was deleted.
q
Was the python virtual environment(venv) copied from somewhere?
b
I created a new one and pip install the requirements. I solved the issue using python 3.9 instead of python 3.10
q
Cool!. I feel the issue was that
venv
was created on a x86_64 machine. However, when you copied it to your Macbook based on arm64, it just wasn't compactible
b
I don't think so, first because the venv directory was created using pulumi up (when importing the repo venv was not included in it as it is in the gitignore), and second, I did the pulumi repo on my other macbook which is also arm64 😅
q
Ok, I assumed the
venv
was cloned from a git repo. In that case, it's really weird issue 🤷
f
@brave-processor-54742 this fixes it for me: https://github.com/grpc/grpc/issues/28387#issuecomment-1054668742
g
Pulumi tends to create venv for Python projects I like to disable this and manage venvs myself because this way I can use 1 venv for multiple projects. There is a setting for it in
Pulumi.yaml
👀 1