Stable releases of ytree
can be installed with either pip
or conda
.
$ pip install ytree
$ conda install -c conda-forge 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 .
ytree
's main dependency is yt. Periodically, the development version of ytree
may require installing the development version of yt
. See the yt installation instructions for how to do that.
To see what version of ytree
you are using, do the following:
>>> import ytree
>>> print (ytree.__version__)