Skip to content
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

Pygaggle release with spacy 3 #263

Open
vinaysetty opened this issue Mar 31, 2022 · 1 comment
Open

Pygaggle release with spacy 3 #263

vinaysetty opened this issue Mar 31, 2022 · 1 comment

Comments

@vinaysetty
Copy link

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?
@joelrorseth
Copy link
Contributor

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 explosion/spaCy#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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants