Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.79 KB

installation.rst

File metadata and controls

59 lines (36 loc) · 1.79 KB

Installation

The client of GraphScope is distributed as a Python package. It manages a set of backend engines and the coordinator via containers.

In practice, GraphScope runs on clusters managed by Kubernetes. For quickly getting started, we set up a local Kubernetes cluster and take advantage of pre-built Docker images as follows.

To run GraphScope on your local computer, the following dependencies or tools are required.

On Windows and macOS, you can follow the official guides to install them and enable Kubernetes in Docker. For Ubuntu/CentOS Linux distributions, we provide a script to install the above dependencies and prepare the environment. Alternatively, you may want to install WSL2 on Windows to use the script.

# run the environment preparing script.
./scripts/prepare_env.sh

Then the package can be easily installed using pip:

pip install graphscope

Or you can install the package from source

pip install 'git+https://github.com/alibaba/GraphScope.git'

If you have the .wheel package, you can install the package using

pip install graphscope-0.1.macosx-10.14-x86_64.tar.gz

To build the package from source code, please download the latest version from our repo with git:

git clone git@github.com:alibaba/GraphScope.git
git submodule update --init
cd python

Then install the package from source with the following command:

pip install -U -r requirements.txt
python setup.py install