💻 Installation
bigtree requires Python 3.10+. There are two ways to install bigtree, with pip (recommended) or conda.
Note
For Python 3.8 and 3.9, use bigtree<0.31.0
Installation with pip
Basic Installation
To install bigtree, run the following line in command prompt:
pip install bigtreeInstalled
Installing optional dependencies
bigtree have a number of optional dependencies, which can be installed using "extras" syntax.
pip install 'bigtree[extra_1, extra_2]'
Examples of extra packages include:
all: include all optional dependenciesimage: for exporting tree to imagematplotlib: for plotting treespandas: for pandas methodspolars: for polars methodsqueryfor tree query methodsvis: for pyvis visualisation
For image extra dependency, you may need to install more plugins.
brew install gprof2dot # for MacOSconda install graphviz # for Windows
Installation with conda
To install bigtree with conda, run the following line in command prompt:
conda install -c conda-forge bigtree