Please read the documentation.
You can install pertpy via pip from PyPI:
pip install pertpy
if you want to use scCODA or tascCODA, please install pertpy as follows:
pip install pertpy[coda]
If you want to use the differential gene expression interface, please install pertpy by running:
pip install pertpy[de]