networkx: Python package for complex networks - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# networkx: Python package for complex networks

## Description

NetworkX (NX) is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.

## License

BSD

## Upstream Contact

https://networkx.github.io/

## Type

standard

## Dependencies

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

- scipy: Scientific tools for Python

## Version Information

package-version.txt:

    3.5

version_requirements.txt:

    networkx >=2.4

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S python-networkx

conda-forge

    $ conda install networkx\<3.3\,\>=2.4

Debian/Ubuntu

    $ sudo apt-get install python3-networkx

Fedora/Redhat/CentOS

    $ sudo dnf install python3-networkx

Gentoo Linux

    $ sudo emerge dev-python/networkx

MacPorts

    $ sudo port install py-networkx

openSUSE

    $ sudo zypper install python3\$\{PYTHON_MINOR\}-networkx

Void Linux

    $ sudo xbps-install python3-networkx

See https://repology.org/project/python:networkx/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.