Skip to content

Deprecated function in latest version of networkx causing error #29

@rtraborn

Description

@rtraborn

When running a test MOVRs job I noticed an error: AttributeError: module 'networkx' has no attribute 'connected_component_subgraphs.

It appears this error is due to connected_component_subgraphs being deprecated in networkx v. 2.4.

A note about this causing an error in another package is here.

To address this I have installed networkx v 2.3 (the last version where the definition is found) as follows:
pip install --user 'networkx==2.3'. I will run the same test with this version installed and report back.

If we don't want to specify a specific version of the networkx package, this solution may be appropriate for our case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions