Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

OSError: [Errno 8] Exec format error when doing terraform init #13

Open
ujaved opened this issue Jul 30, 2023 · 0 comments
Open

OSError: [Errno 8] Exec format error when doing terraform init #13

ujaved opened this issue Jul 30, 2023 · 0 comments

Comments

@ujaved
Copy link

ujaved commented Jul 30, 2023

After starting the virtual env using pipenv shell when I try to execute terraform init I get this error:

 File "/Users/ujaved/.local/share/virtualenvs/ai_infra-sC-Ynr6r/lib/python3.9/site-packages/terraform.py", line 45, in main
    os.execv(TERRAFORM_EXECUTABLE, ["terraform"] + args)
OSError: [Errno 8] Exec format error

Do you know what the issue is and how to fix it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant