Installation
Requirements
TreeScape requires Python 3.9 or higher and the following dependencies:
caliper-reader
ipython
llnl-hatchet
llnl-thicket
matplotlib
numpy
pandas
jupyterlab
Installing from Source
Clone the repository:
git clone https://github.com/LLNL/treescape.git
cd treescape
Create a virtual environment:
python3 -m venv venv
Activate the virtual environment:
On Linux/macOS:
source venv/bin/activate
On Windows:
venv\Scripts\activate
Install the dependencies:
pip install -r requirements.txt
Run Jupyter Lab:
jupyter lab
Verifying Installation
To verify that TreeScape is installed correctly, open a Python interpreter and try:
import treescape as ts
print(ts.__file__)
This should print the path to the TreeScape installation directory without errors.
Development Installation
For development, you may want to install in editable mode:
pip install -e .
This allows you to modify the source code without reinstalling the package.