pyXMLSecurity icon indicating copy to clipboard operation
pyXMLSecurity copied to clipboard

cannot import name 'MutableMapping' from 'collections'

Open Amr-Es opened this issue 3 years ago • 3 comments

it doesn't support python version >= 3.8

Amr-Es avatar Jul 18 '22 07:07 Amr-Es

MutableMapping should be imported from collections.abc. It has been moved there since python 3.3, and importing from collections is deprecated. With python 3.10 it is removed from the collections module entirely.

@Amr-Es I am guessing you sure you are using python 3.10

This needs to be amended on the code.

c00kiemon5ter avatar Jul 18 '22 12:07 c00kiemon5ter

@c00kiemon5ter that is what I'm doing now importing from collections.abc, but it needed to be amended on the code

Amr-Es avatar Jul 18 '22 12:07 Amr-Es

A PR would be very nice!

Skickat från min iPhone

18 juli 2022 kl. 14:16 skrev Amr Es @.***>:

 @c00kiemon5ter that is what I'm doing now importing from collections.abc, but it needed to be amended on the code

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

leifj avatar Jul 18 '22 12:07 leifj