-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Description
How to replicate:
OS: MacOs
uv -V
uv 0.9.2 (141369ce7 2025-10-10)
I use this doc for the installation environment:
https://github.com/ed-donner/llm_engineering/blob/main/setup/SETUP-new.md#step-2-installing-the-fabulous-uv-then-doing-a-uv-sync
I encountered an issue with torch
where there was no pre-compiled package for my OS.
Helped to fix running uv add torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2
from these instructions https://edwarddonner.com/faq/#11.
After finishing uv sync
, I ran source .venv/bin/activate
.
When I ran jupyter lab
or uv run jupyter lab
I saw the issue:
uv run jupyter lab
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir] [--paths] [--json] [--debug] [subcommand]
Jupyter: Interactive Computing
positional arguments:
subcommand the subcommand to launch
options:
-h, --help show this help message and exit
--version show the versions of core jupyter packages and exit
--config-dir show Jupyter config dir
--data-dir show Jupyter data dir
--runtime-dir show Jupyter runtime dir
--paths show all Jupyter paths. Add --json for machine-readable format.
--json output paths as machine-readable json
--debug output debug information about paths
Available subcommands: kernel kernelspec migrate run troubleshoot
That issue I fixed with the command:
uv run --with jupyter jupyter lab
@ed-donner if that a bug or a feature? I saw that you added support for uv
3 days ago.
Metadata
Metadata
Assignees
Labels
No labels