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

"cannot import name 'Sequence' from 'collections'" error with Python 3.10 #172

Closed
kburchfiel opened this issue Apr 19, 2022 · 2 comments
Closed
Assignees

Comments

@kburchfiel
Copy link

kburchfiel commented Apr 19, 2022

I'm currently using Python 3.10.4. When I try to run:

from sumy.parsers.plaintext import PlaintextParser

I receive the following error:

ImportError: cannot import name 'Sequence' from 'collections'

Is there a way to resolve this, or will I need to wait for sumy to be updated?

@miso-belica
Copy link
Owner

Hi, thank you. Yes, it seems it is duplicate of #170 and I should release a new version with the fix 🙂

@miso-belica
Copy link
Owner

Should be working now if you run pip install -U sumy 🙂 It's fixed in version 0.10.0+

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

No branches or pull requests

2 participants