Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin networkx to fix python3.10 issue. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rshanor
Copy link

@rshanor rshanor commented Jun 28, 2022

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.

@rshanor
Copy link
Author

rshanor commented Jun 28, 2022

Probably better to move forward with #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant