Skip to content

unknown command "inspect" with pip < 22.2 #4075

@benmoss

Description

@benmoss

const auto args = std::array<std::string, 6>{ get_python_path(), "-q", "-m", "pip",
"inspect", "--local" };

https://pip.pypa.io/en/latest/cli/pip_inspect/

You just get this error printed out when you run mamba commands that hit this code:

micromamba env export > cool.yaml
ERROR: unknown command "inspect"

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