Fork me on GitHub

Download and Install

Linux

Using Conda (no sudo required)

  1. Installing ETE using Conda
  2. $ conda create -n ete3 python=3
    $ conda activate ete3
    $ conda install -c etetoolkit ete3 ete_toolchain
    $ ete3 build check
    
    
    Then, just remember to activate your conda environment to use ete3
    conda activate ete3
    

Native

  1. Install dependencies: python-qt4, python-lxml, python-six and python-numpy

    (PyQt4 and lxml are optional, required for tree drawing operations and PhyloXML/NexML format parsing respectively. You can still install ETE without them.)

    • In Ubuntu, Mint and other Debian based distributions (APT)
    • sudo apt-get install python-numpy python-qt4 python-lxml python-six
    • In CentOS, Fedora, etc (YUM)
    • sudo yum install PyQt4.x86_64 numpy.x86_64 python-lxml.x86_64 python-six.noarch
  2. Install/Upgrade ETE using PIP
    pip install --upgrade ete3
    or using EasyInstall
    easy_install -U ete3
    or from the sources: Download latest version from PyPI and execute:
    python setup.py install 
  3. Compile external tools

    This is an optional step, required only by ete-build and ete-evol. The Python API does not require external tools.

    ete3 upgrade-external-tools

Mac OS X

Using Conda (recommended)

  1. Installing ETE using Conda
  2. 
    $ conda create -n ete3 python=3
    $ conda activate ete3
    $ conda install -c etetoolkit ete3 ete_toolchain
    $ ete3 build check
    
  3. Then, just remember to activate your conda enviroment to use ete3
    conda activate ete3
    

XQuartz

Note that graphical features in ETE require XQuartz to be installed.

Older versions (ete2)

For compatibility and reproducibility reasons, the older ete2 version of the API is still available and can be installed independently from ete3 (both versions can coexist). Use pip install --upgrade ete2 to install it.