pygaggle icon indicating copy to clipboard operation
pygaggle copied to clipboard

Pygaggle release with spacy 3

Open vinaysetty opened this issue 2 years ago • 1 comments

It looks like the latest master branch uses spacy 3 in requirements.txt but when I try to install the latest version (0.0.3.1) from pypi https://pypi.org/project/pygaggle/ is not compatible with spacy 3.

  1. Will there be a new release with spacy 3?
  2. Why is there no release tag with 0.0.3.1?

vinaysetty avatar Mar 31 '22 15:03 vinaysetty

Just ran into this issue as well. I actually got a few errors, all thrown by spacy==3.0.6, first complaining that the numpy module wasn't found, then same for Cython module. After installing these into my venv and retrying, I got a very verbose error from spacy, listing many Cython compilation errors.

Anyways, turns out this is a common issue with spacy, there is a discussion about it in their repo https://github.com/explosion/spaCy/discussions/7748. TLDR: you just need to update pip and related tools (well, this worked for me at least).

pip install -U pip setuptools wheel

Try this @vinaysetty, hope this works for you like it did for me. I recreated my venv, ran the above command, then installed requirements.txt. No more errors!

joelrorseth avatar Apr 09 '22 00:04 joelrorseth