Fork me on GitHub

Download and Install

Linux

  1. Install (optional) dependencies: python-qt4, python-lxml python-six and python-numpy
    • 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
    • No sudo permission?
    • # Download and install Minconda on your home directory
      wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O Miniconda-latest-Linux-x86_64.sh
      bash Miniconda-latest-Linux-x86_64.sh -b -p ~/anaconda_ete/
      export PATH=~/anaconda_ete/bin:$PATH;
      unset PYTHONPATH
      
      # Install ETE dependencies
      conda install -y pip six numpy pyqt lxml;
                    
      You will need to activate the Anaconda python environment before installing or using ETE.
      # Activate ETE/Anaconda
      unset PYTHONPATH; export PATH=~/anaconda_ete/bin:$PATH; 
                
      Tip: you can add the line to your .bashrc to make it permanent
  2. Install/Upgrade ETE using PIP
    pip install --upgrade ete3
    or using EasyInstall
    easy_install -U ete3
    from the sources: Download latest version from PyPI and execute:
    python setup.py install 

Mac OS X

  1. Install ETE using the Anaconda Python distribution

    # Download and install Minconda on your home directory
    wget https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O Miniconda-latest-MacOSX-x86_64.sh
    bash Miniconda-latest-MacOSX-x86_64.sh -b -p ~/anaconda_ete/
    export PATH=~/anaconda_ete/bin:$PATH;
    export DYLD_FALLBACK_LIBRARY_PATH=~/anaconda_ete/lib
    unset PYTHONPATH
                
    # Install ETE dependencies
    conda install -y pip six numpy pyqt lxml gcc;
                
    # Install/upgrade ETE
    pip install --upgrade ete3;
              
  2. Run the following line to acctivate Anaconda before using ETE:

    # Activate ETE/Anaconda
    unset PYTHONPATH; export PATH=~/anaconda_ete/bin:$PATH; export DYLD_FALLBACK_LIBRARY_PATH=~/anaconda_ete/lib
              
    Tip: you can add the line to your .bashrc to make it permanent