Looks like pynetworktables2js has this issue, switching to python 3.8 fixed this for me though!
https://stackoverflow.com/questions/69381312/in-vs-code-importerror-cannot-import-name-mapping-from-collections
Maybe I could help patch the changes in python 3.10? not sure if it's backward compatible or not. I imagine most teams would be fine installing another older version of python.