Installation

ytree’s main dependency is yt. Once you have installed yt following the instructions here, ytree can be installed using pip.

$ pip install ytree

If you’d like to install the development version, the repository can be found at https://github.com/ytree-project/ytree. This can be installed by doing:

$ git clone https://github.com/ytree-project/ytree
$ cd ytree
$ pip install -e .

What version do I have?

To see what version of ytree you are using, do the following:

>>> import ytree
>>> print (ytree.__version__)