Open pdworzynski opened 2 months ago
Thanks for pointing this out @pdworzynski. I sadly won't have time to fix this before next month.
However, your issue seems to also be present for SpaCy's pipelines. So I have created an issue on their repo, which you might want to follow.
A temporary solution is to downgrade pip:
pip install "pip<22"
pip install https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
Hi Kenneth,
Thanks for confirming that this is indeed SpaCy issue. As you suggested, I downgraded pip and already pip==24.0 doesn't exhibit this issue.
Cheers
How to reproduce the behaviour
With pip >= 24.1 installed do:
This fails with:
Installing model package via the new pip also fails:
Most likely cause is that pip 24.1 introduced a more rigorous versions specification for packages. This link to medium article offers a good writeup of the changes.
Unfortunately, i'm very far from a subject-matter expert. The problem seems to originate in huggingface model definition. Could this be a common issue for spacy models on hugging face? I found an un-answered stack overflow question with the same problem here.
Your Environment