-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using uv leads to a failed ipykernel installation #3093
Comments
Cross-posting: https://dev.to/astrojuanlu/python-packaging-is-great-now-uv-is-all-you-need-4i2d Using: uv init
uv add ipykernel Creates a |
In #6020 we are adding support for installing pip when it is missing (in order to install ipykernel). This is going to feel real bad to uv users, so when we add support for detecting uv environments and correctly installing into them, we should also confirm we are never installing pip into uv environments. |
Note that you can use |
I'll also note that it looks like
|
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:
uv
tool$ uv venv
to create a new virtual environment..venv
as the default for the workspace. Select yes which will also attempt to installipykernel
and select Yes.uv
doesn't includepip
in the.venv
, thepip install ipykernel
will 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.Were there any error messages in the output or Developer Tools console?
The text was updated successfully, but these errors were encountered: