The rapidest way to install treelib is using the package management tools like
pip with command
$ sudo easy_install -U treelib
or the setup script
$ sudo python setup.py install
Note: With the package management tools, the hosted version may be falling behind current development branch on Github. If you encounter some problems, try the freshest version on Github or open issues to let me know your problem.