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

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

@ujaved

Description

@ujaved

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions