It is recommended to first refer the NetworkX's INSTALL.rst. nx-parallel requires Python >=3.12. Right now, the only dependencies of nx-parallel are networkx and joblib.
You can install the stable version of nx-parallel using pip:
pip install nx-parallelThe above command also installs the two main dependencies of nx-parallel i.e. networkx
and joblib. To upgrade to a newer release use the --upgrade flag:
pip install --upgrade nx-parallelBefore installing the development version, you may need to uninstall the
standard version of nx-parallel and other two dependencies using pip:
pip uninstall nx-parallel networkx joblibThen do:
pip install git+https://github.com/networkx/nx-parallel.git@mainInstalling nx-parallel from the conda-forge channel can be achieved by adding conda-forge to your channels with:
conda config --add channels conda-forge
conda config --set channel_priority strictOnce the conda-forge channel has been enabled, nx-parallel can be installed with conda:
conda install nx-parallelor with mamba:
mamba install nx-parallel