-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
spacy.cli.download is no longer available #13039
Comments
That does look like an unintended side effect of #12962. My initial guess is that the best course of action will be to revert it. |
Update: calling |
Yeah, we have do have plenty of tests including imports like |
And I don't understand why this breaks the availability of the whole |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In the last release (3.7.0), the ability to call
spacy.cli.download(MODEL)
is no longer available.Is there another way to download models through a Python script, or can the spacy.cli package be reintroduced?
In our use case, we propose the use of downloaded spacy models by default. If the user inputted a spacy model name which isn't installed, we wish to install it lazily, therefore the CLI command isn't a good fit for us.
Potentially an outcome of #12962
How to reproduce the behaviour
Your Environment
The text was updated successfully, but these errors were encountered: