Replies: 3 comments 6 replies
-
I don't know any way to not install ipykernel into each notebook environment, except maybe the include system site packages option (ipykernel must then be installed like with pip install --user or similar.). What's the problem you want to solve? If it's disk space, then Uv by default copies installed packages from cache in a smart way and identical environments and packages don't use more space (see example from uv help). The default option saves disk space for you already.
|
Beta Was this translation helpful? Give feedback.
-
@bluss If tools don't support this functionality, what specific tools are supported? Is there a way to know in advance which packages can be supported by tools? Thank you for your assistance! |
Beta Was this translation helpful? Give feedback.
-
I'm not looking to use packages from multiple virtual environments simultaneously. What I want is to have ipykernel set up via Rye tools so that VS Code can directly use it. From your explanation, I understand that tools installed via Rye are command-line tools, while VS Code needs them as libraries, not command-line tools. So, if I use rye tools install ipykernel, VS Code wouldn't recognize it. Is that correct? By the way, pyproject-local-kernel looks interesting; I plan to try it out. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
VS Code mentions that Jupyter Notebook functionality only requires installing ipython and ipykernel. However, I prefer not to install these packages separately for each project. I've tried using rye tools to install ipykernel and ipython, but they don't seem to work properly.
Has anyone else encountered this issue or knows how to get it working correctly in VS Code?
Any help would be appreciated!
Thanks!
https://github.com/microsoft/vscode-jupyter/wiki/Jupyter-Kernels-and-the-Jupyter-Extension#python-extension-and-ipykernel
rye tools list --include-version
ipykernel 6.29.5 ([email protected])
ipython 8.26.0 ([email protected])
Beta Was this translation helpful? Give feedback.
All reactions