Python3.10 is the default python on Ubuntu Jammy 22.04. urdfpy crashes on import due to error: ImportError: cannot import name 'Mapping' from 'collections' in networkx package.
After upgrading python environment using pip install --upgrade networkx, which upgrades to version 2.8.4, things seem to work. The unit tests pass and I can visualize the URDF.
I did not see any indication of why this requirement was pinned in the first place.
Python3.10 is the default python on Ubuntu Jammy 22.04. urdfpy crashes on import due to error:
ImportError: cannot import name 'Mapping' from 'collections'
in networkx package.After upgrading python environment using
pip install --upgrade networkx
, which upgrades to version2.8.4
, things seem to work. The unit tests pass and I can visualize the URDF.I did not see any indication of why this requirement was pinned in the first place.