You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how the requirements have worked out exactly, but the resolution for now is to run pip install spacy-llm. If you install a fresh copy of spaCy it should all happen automatically.
Hi,
I ran pip install spacy-llm and I noticed that each package had "requirement already satisfied".
In Jupterlab, i restarted kernel to no avail. It yields the same error when it tries to load the language model.
----> 4 nlp = spacy.load("en_core_web_sm")
Hi,
I think some of the trouble is numpy version. The switch to version 2.0 on has broken several things. Some of the libraries that are loaded are incompatible with version 1.24.6 and others are incompatible with version 2.0.2. You language installer forces the dumpy 2.0.2 install and that breaks things.
What version of Spacy and language models works with lumpy 1.24.6? I did a clean reinstall of the Anaconda package and I need to use numpy version 1 for pandas library.
Andy
How to reproduce the behaviour
Your Environment
Info about spaCy
Spacy used to work fine, though I haven't used it recently.
Notebook code
import spacy
import en_core_web_sm
nlp = spacy.load("en_core_web_sm")
doc = nlp("Apple is looking at buying U.K. startup for $1 billion")
returns error:
3 import en_core_web_sm
----> 4 nlp = spacy.load("en_core_web_sm")
5 doc = nlp("Apple is looking at buying U.K. startup for $1 billion")
AttributeError: Could not find: llms
How do I resolve?
Andy
The text was updated successfully, but these errors were encountered: