8000 Networkx should not be fixed to 2.2 in the setup.py · Issue #27 · mmatl/urdfpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Networkx should not be fixed to 2.2 in the setup.py #27
Open
@Daniella1

Description

@Daniella1

When installing urdfpy using pip, (I tried both from pypi and cloning the repo), an error occurs when loading and showing a URDF file.
I ran the code:

import urdfpy

robot = urdfpy.URDf.load("ur5e/ur5e.urdf")
robot.show()

And received the error:

ImportError: cannot import name 'gcd' from 'fractions'

It seems the issue that the setup.py file requires that networkx==2.2, but that version doesn't support the functions used in the library, and therefore needs to be upgraded after installing the library.
I believe the networkx version requirement can be removed from the setup.py file.
(This was tested with Python version 3.9.12 and version 3.10.6 with same results)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0