Skip to content

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

Description

@felixkrones

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions