Skip to content

"Command failed: tox -a 'tox' is not recognized as an internal or external command, operable program or batch file." error when attempting to run any tox commands #37

Description

@DetachHead

when pressing F1 and run "Select and run tox environment", the following error appears:

image

this may be caused by the fact that tox is installed inside my pdm project's venv, not globally. if that's the case, it should use vscode's python interpreter path to locate the tox executable. this is how most other extensions work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions