Tree-AMP package requires the following packages

  • python>=3.6

  • numpy/pandas/scipy/matplotlib

  • networkx==1.11

  • daft

Currently the package does not support networkx 2.xx and will throw errors. We plan to upgrade to networkx 2.xx at some point.

To install the package, go to the folder where is located and run:

pip install .

If you want to install in development mode (changes to the repository will immediately affect the installed package without needing to re-install):

pip install --editable .

To install the package on a remote machine directly from the github repo:

pip install git+

See installing from sources for more details. In all three cases, the necessary requirements should be automatically installed.