Skip to content

download script requires pip #13846

Open
Open

Description

@s-banach

I use uv without pip, so I get the following:

(venv) PS C:\Users\me\> python -m spacy download en_core_web_sm
C:\Users\me\.venv\Scripts\python.exe: No module named pip

I don't think you need a script to call pip for users.
If your models are all pip-installable packages, they should depend on their supported versions of spacy. Then the user's dependency resolver can find the correct model version to download.

Activity

  1. ACH9001 commented on Aug 11, 2025

    @ACH9001

    for uv users, uv pip install pip

  2. zk1989 commented on Sep 30, 2025

    @zk1989

    currently a side-effect of this limitation is that it forces users of package managers other than pip to have to use two in their project... uv said it's spaCy-specific design and they will not adapt to it (astral-sh/uv#7327 (comment)). do you plan on introducing support for uv / poetry users (without mandatory pip installation)?

  3. zanieb commented on Sep 30, 2025

    @zanieb

    spaCy can also just add pip as a dependency, if you want to continue with this approach. You shouldn't assume pip is installed otherwise though.

  4. juhoinkinen commented on Nov 5, 2026

    @juhoinkinen

    Since c6c78d6, working in spaCy 3.8.14, the spacy download does not require pip, but also uv can be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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