[chirp_users] installing CHIRP-next problems

Martin Cooper
Thu Mar 9 08:41:09 PST 2023


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 <sandhillsinvestment at gmail.com>
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
> chirp_users at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_users
> This message was sent to Martin Cooper at mfncooper at gmail.com
> To unsubscribe, send an email to
> chirp_users-unsubscribe at intrepid.danplanet.com
> To report this email as off-topic, please email
> chirp_users-owner at intrepid.danplanet.com
> Searchable archive:
> https://www.mail-archive.com/chirp_users@intrepid.danplanet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20230309/5c577955/attachment.html 


More information about the chirp_users mailing list