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

Error: spacy.load("en_core_sci_sm") in generate.py #6

Open
felixkrones opened this issue Feb 23, 2024 · 1 comment
Open

Error: spacy.load("en_core_sci_sm") in generate.py #6

felixkrones opened this issue Feb 23, 2024 · 1 comment

Comments

@felixkrones
Copy link

felixkrones commented Feb 23, 2024

nlp = spacy.load("en_core_sci_sm")

Problem:
nlp = spacy.load("en_core_sci_sm") in generate.py throws the error TypeError: issubclass() arg 1 must be a class

Suggestion:

  • Upgrade spacy in environment_droplet.yml and requirements.txt to 3.6.1
  • Upgrade en_core_sci_sm to 0.5.3 in README.md and environment_droplet.yml

I think this also requires to upgrade the following packages in environment_droplet.yml and requirements.txt:

  • scikit-image==0.22.0
  • scipy==1.12.0
@deepanshi-s
Copy link
Contributor

Thank you for your comment. Can you please provide the complete log of the issue, the specifications of the libraries in your env and your machine specs. Thank you.

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