Skip to content

Installing kernel fails if my venv uses uv venv #16783

@ulugbekna

Description

@ulugbekna

repro:

  1. run uv venv
  2. run source .venv/bin/activate
  3. create a notebook
  4. pick this new venv as the one for notebook
  5. run a python cell print('foo')
  6. get dialog offering to install kernel and click on it
  7. it fails because running pip install ... is not allowed in uv venv, it should be uv pip install ... I think

Version: 1.102.0-insider
Commit: ac320d66c838f2bee42b650ec7409807e40dbd27
Date: 2025-07-04T07:03:36.959Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.5.0

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugnotebook-executionKernels issues (start/restart/switch/execution, install ipykernel)notebook-getting-startedon-testplan

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions