Installation
Installing Stable Releases
Stable releases of ytree can be installed with either pip or
conda.
pip
$ pip install ytree
conda
$ conda install -c conda-forge ytree
Installing from Source
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 .
Installing yt
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.
What version do I have?
To see what version of ytree you are using, do the following:
>>> import ytree
>>> print (ytree.__version__)