Skip to content

[codespaces] Python virtual environment setup #922

Description

When launching Python codespaces alerts come up before build... What's the earliest time we could/should run the vscode azd restore command? Python projects should also communicate with the Python extension, if possible, and indicate the appropriate interpreter (this could get interesting with multiple python projects)

Example error message in first run:

image

Example error message in first debugging run:

image

To fix:

  1. Run the "Restore API" task to get a python virtual environment on the instance
  2. Ctrl+Shift+P > Python: Select Interpreter ... select the one created in the restore step

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions