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

Issue with Spacy Dependency Version: issubclass() arg 1 must be a class #112

Open
Hydway opened this issue Jun 24, 2023 · 4 comments
Open

Comments

@Hydway
Copy link

Hydway commented Jun 24, 2023

Dear harvardnlp/annotated-transformer maintainers,

I am writing to bring to your attention an issue I encountered while using your excellent project. The issue is with the version of Spacy specified in the requirements.txt file, which is currently set to spacy==3.2.

While using this version, I encountered an error that says issubclass() arg 1 must be a class spacy. This appears to be due to an incompatibility with newer versions of Pydantic. According to this thread on the Spacy GitHub, this issue has been resolved in Spacy version 3.2.6.

Therefore, to ensure smooth operation of the project and avoid this error for other users, I would suggest updating the Spacy version in the requirements.txt file to spacy==3.2.6.

Thank you for your attention to this matter. I believe this minor adjustment will make the usage of this valuable tool more seamless for other developers in the future.

Best Regards,
hydway

@Hydway Hydway changed the title Issue with Spacy Dependency Version Issue with Spacy Dependency Version: issubclass() arg 1 must be a class Jun 24, 2023
@MaAleem08
Copy link

hey , have you found any solution to that ?

@Hydway
Copy link
Author

Hydway commented Aug 28, 2023

hey , have you found any solution to that ?

upgrade spacy==3.2.6 can fix my problem :)

@MaAleem08
Copy link

MaAleem08 commented Aug 28, 2023 via email

@minsuk-sung
Copy link

Thanks! It works well!!

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

3 participants