"cannot import name 'Sequence' from 'collections'" error with Python 3.10
kburchfiel opened this issue · 2 comments
kburchfiel commented
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 commented
Hi, thank you. Yes, it seems it is duplicate of #170 and I should release a new version with the fix 🙂
miso-belica commented
Should be working now if you run pip install -U sumy
🙂 It's fixed in version 0.10.0+