There is an updated pull request by pbui against master on the void-packages repository https://github.com/pbui/void-packages python-networkx https://github.com/void-linux/void-packages/pull/14558 Remove python-networkx Python 2.x is no longer supported: https://networkx.github.io/documentation/stable/release/release_2.3.html Python 3.x is still supported (python3-networkx). A patch file from https://github.com/void-linux/void-packages/pull/14558.patch is attached