Closed tirkarthi closed 2 years ago
Now this is happening with Python 3.10
I will create a PR
Looks like this is fixed in https://github.com/tirkarthi/easygui/commit/0f6abd5b37c8295618412f9ea38aa7da5d3d87af#diff-fef111e52e6c8332a082cc8d35153b1057c8f3c92e75d59d8be4a82051417195 . Closing.
Yep - sorry, should have seen your previous open issue.
The collections movement got back ported for quite a few Python 3 versions for compatibility, so we got away with the old import location for a while!
Thanks for raising, investigating, and closing this out with information 👍
It looks like this patch has not yet been pushed to the pypi repository. I encountered this issue when running my scripts on a different PC, which resulted in the classic "well it works on my machine" and was hot-fixed by downgrading the python install.
Same here: pip install easygui doesn't install the corrected collections.abc version: it's still the old version.
Use collections.abc for Python 3 and collections for Python 2.