Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.03 KB

INSTALL.rst

File metadata and controls

37 lines (24 loc) · 1.03 KB

Installation instructions

Installation

Before installing cstrees, you need to make sure graphviz is installed on your machine. This can be done using conda:

$ conda install graphviz

cstrees can be installed using pip:

$ pip install cstrees

This command will fetch the archive and its dependencies from the internet and install them.

If you've downloaded the tarball, unpack it, and execute:

$ python setup.py install --user

You might prefer to install it system-wide. In this case, skip the --user option and execute as superuser by prepending the command with sudo.

Troubleshoot

Windows users may find that these command will only works if typed from Python's installation directory.

Some Linux distributions (e.g. Ubuntu) install Python without installing pip. Please install it before. If you don't have root privileges, download the get-pip.py script at https://bootstrap.pypa.io/get-pip.py and execute it as python get-pip.py --user.