Skip to content

"There is no reason to install this package on its own" does not play well with pipx / uv #436

Open
@callegar

Description

@callegar

In many cases, python tools are now installed using pakage/project managers such as pipx or uv, that also know how to deal with them. For instance, uv has its tool subcommand for that.

Now, to install jupyterlab in this way, you need to ask uv to install jupyter-core, not jupyter lab, because it is jupyter-core that provides the jupyter entry point to be exposed by uv.

So you need to do: uv tool install jupyter-core --with jupyterlab.

Now, yes, there is a jupyter metapackage, but it provides no binaries if installed with uv tool!

The instruction on pypi that "There is no reason to install this package on its own" is thus a bit misleading wrt to the usage of jupyter together with uv/pipx.

As a matter of fact, it would be great to say uv tool install jupyter-core[jupyterlab] having the package exposing jupyterlab (and maybe more) as extras.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions