Skip to content

Change default active interpreter to point to the python in current path #16499

@brettcannon

Description

@brettcannon

As a notice user I test & run Python (& or Jupyter) with python thats in my current path.
However when using Python or Jupyter notebooks a different Python interpreter is used hence:
In Jupyter extension

  • I get prompted to install ipykernel (no idea what this is, i'll click ok)
  • After running a cell, i get module not found errors

Suggestion:
Change the active interpreter in the Python extnsion to point to what's in the current path.

Related issue in Jupyter is here microsoft/vscode-jupyter#5998
(We could either change Jupyter extension to use Python in path or optionally make this change in Python exension)

Originally posted by @DonJayamanne in a discussion

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions