As of Python 3.10: > Remove deprecated aliases to Collections Abstract Base Classes from the collections module.
They were originally deprecated in Python 3.3, a long time ago. This means that the old (and now archived) attrdict package no longer works, and needs to be replaced with attrdict3, which correctly uses 'collections.abc' instead of 'collections' for Mapping and similar classes. I believe attrdict is being used by wxPython. Replacing it with attrdict3 should work, though I don't have the environment to try it myself. Martin. KD6YAM On Thu, Mar 9, 2023 at 8:08 AM Jeffrey Vian <[email protected]> wrote: > I run Fedpra Linux version 37 which has python 3.11 > > I have previously used CHIRP and am upgrading to the newer python3 version > but am encountering several issues. Each time I try to launch the new > version I get an error, and have been working through them one at a time > (which mostly requires installing a python package not previously > installed). > > I have, however, hit one that I cannot find the proper fix for. > ---- > File > "/home/USERNAME/.local/lib/python3.11/site-packages/attrdict/mapping.py", > line 4, in <module> > from collections import Mapping > ImportError: cannot import name 'Mapping' from 'collections' > (/usr/lib64/python3.11/collections/__init__.py) > [end of output] > ---- > Looking at the collections module installed for the system it does not > seem to have the Mapping module as the error states and I cannot figure out > how to fix that issue. Does someone with python experience have any > suggestions? > > Jeff > KI7GJG > > _______________________________________________ > chirp_users mailing list > [email protected] > http://intrepid.danplanet.com/mailman/listinfo/chirp_users > This message was sent to Martin Cooper at [email protected] > To unsubscribe, send an email to > [email protected] > To report this email as off-topic, please email > [email protected] > Searchable archive: > https://www.mail-archive.com/[email protected]
_______________________________________________ chirp_users mailing list [email protected] http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to [email protected] at [email protected] To unsubscribe, send an email to [email protected] To report this email as off-topic, please email [email protected] Searchable archive: https://www.mail-archive.com/[email protected]
