Pairtree is a method for reconstructing cancer evolutionary history in individual patients, and analyzing intratumor genetic heterogeneity. Pairtree focuses on scaling to many more cancer samples and cancer cell subpopulations than other algorithms, and on producing concise and informative interactive characterizations of posterior uncertainty.
https://github.com/morrislab/pairtree/blob/2fd9f958270b74873c5237311e413c4eea6a403f/requirements.txt#L1
specify compatible numpy version in requirements.txt
numpy==1.21.4
if you need to downgrade existing numpy: use this command
pip install --upgrade numpy==1.21.4
This helps me resolve the issue.