Install for Python#
Required Tools#
To use ScisTree2, you will need the following tools and libraries installed:
python&pip: Version 3.6 or higher.g++: A C++ compiler. (from source only)make: For building the backend. (from source only)
Note
We have successfully tested it on Linux, macOS, and Windows (via WSL).
Installation#
1. Install from PyPI:#
Upgrade pip:
python -m pip install --upgrade pip
Install
scistree2:pip install scistree2
2. Install from source:#
Clone the repository:
git clone https://github.com/yufengwudcs/ScisTree2.git cd scistree2
Install the Python package (includes C++ backend compilation): You can install the
scistree2package usingpip:pip install .
This command will also automatically compile the C++ backend. Once built, the executable binary file can be found in
scistree2/bin.Note
We recommend that users create a virtual environment using either
condaorvenvto comply with PEP 668.