PyLith can be installed from here: https://geodynamics.org/resources/notebooks
Available for macOS, Linux