positron
positron copied to clipboard
Using uv leads to a failed ipykernel installation
Positron Version: 2024.05.0 (Universal) build 1160 Code - OSS Version: 1.89.0 Commit: 5024068198dcf8f5c3560dce8e6bf8affd9580cb 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:
- Install the
uvtool - Create a new project/folder and navigate to it.
$ uv venvto create a new virtual environment.- This will prompt Positron to ask you to use the
.venvas the default for the workspace. Select yes which will also attempt to installipykerneland select Yes. - Because
uvdoesn't includepipin the.venv, thepip install ipykernelwill fail as it needs to beuv pip install ipykernel instead
What did you expect to happen?
It would be nice if Positron could work with uv to install packages.