Skip to content

Better return value to distinguish between cannot install module vs not installed #15935

@DonJayamanne

Description

@DonJayamanne

Today when Jupyter extension uses the installModule API the return value is InstallerResponse.Ignore when:

  • Pip or similar installation channels are not available (cannot install)
  • Not installed (Python runs the installation scripts & then after than checks if it was successfully installed).

Would be good to have the following two instead:

  • InstallerResponse.CannotInstall
  • InstallerResponse.NotInstalled

Related to #15933 & #15934

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked on

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions