Skip to content

Allow a machine to configure the default Python interpreter version #20316

Closed as not planned
@lostintangent

Description

@lostintangent

Codespaces recently updated its base image to pre-install Jupyter along with a handful of ubiquitous ML libraries (e.g. pandas, torch, etc.). These libraries are installed into the context of the latest version of Python that's installed (currently 3.10.4), which is also set as the default Python version in the user's $PATH. Because of this, it would be ideal if when a user opened an *.ipynb file in a Codespace, that we could have it automatically select the kernel for the latest Python version. That way, there's a seamless continuity between the terminal and notebooks, without the user needing to select a kernel manually, and potentially get confused.

For example, the following is a screenshot of what the kernel picker looks like in a Codespace, and it would be awesome if we could somehow configure the environment to pre-select Python 3.10.4 64-bit.

image

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsinfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions