<div dir="ltr"><div class="gmail_default" style="font-size:small">As of Python 3.10:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">> Remove deprecated aliases to Collections Abstract Base Classes from the collections module.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Martin.</div><div class="gmail_default" style="font-size:small">KD6YAM</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 9, 2023 at 8:08 AM Jeffrey Vian <<a href="mailto:sandhillsinvestment@gmail.com" target="_blank">sandhillsinvestment@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I run Fedpra Linux version 37 which has python 3.11</div><div><br></div><div>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).</div><div><br></div><div>I have, however, hit one that I cannot find the proper fix for.</div><div>----</div><div> File "/home/USERNAME/.local/lib/python3.11/site-packages/attrdict/mapping.py", line 4, in <module><br> from collections import Mapping<br> ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib64/python3.11/collections/__init__.py)<br> [end of output]<br></div><div>----</div><div>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?</div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Jeff</div><div>KI7GJG</div><div><br></div></div></div></div></div></div></div>
_______________________________________________<br>
chirp_users mailing list<br>
<a href="mailto:chirp_users@intrepid.danplanet.com" target="_blank">chirp_users@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a><br>
This message was sent to Martin Cooper at <a href="mailto:mfncooper@gmail.com" target="_blank">mfncooper@gmail.com</a><br>
To unsubscribe, send an email to <a href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com" target="_blank">chirp_users-unsubscribe@intrepid.danplanet.com</a><br>
To report this email as off-topic, please email <a href="mailto:chirp_users-owner@intrepid.danplanet.com" target="_blank">chirp_users-owner@intrepid.danplanet.com</a><br>
Searchable archive: <a href="https://www.mail-archive.com/chirp_users@intrepid.danplanet.com" rel="noreferrer" target="_blank">https://www.mail-archive.com/chirp_users@intrepid.danplanet.com</a></blockquote></div>