Skip to content

Using uv leads to a failed ipykernel installation #3093

@jthomasmock

Description

Positron Version: 2024.05.0 (Universal) build 1160
Code - OSS Version: 1.89.0
Commit: 5024068
Date: 2024-05-08T03:21:09.376Z
Electron: 28.2.8
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

Steps to reproduce the issue:

  1. Install the uv tool
  2. Create a new project/folder and navigate to it.
  3. $ uv venv to create a new virtual environment.
  4. This will prompt Positron to ask you to use the .venv as the default for the workspace. Select yes which will also attempt to install ipykernel and select Yes.
  5. Because uv doesn't include pip in the .venv, the pip install ipykernel will fail as it needs to be uv pip install ipykernel instead

What did you expect to happen?

It would be nice if Positron could work with uv to install packages.

Were there any error messages in the output or Developer Tools console?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvestigateNeeds initial, limited investigation to prioritizelang: python

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions