Installation¶
GraphScope is tested and supported on the following 64-bit systems:
gcc 7.1+
Python 3.7 - 3.9
Ubuntu 18.04 or later
CentOS 7 or later
macOS 11.2.1 (Big Sur) or later, with both Intel chip and Apple M1 chip
Install GraphScope locally without Kubernetes¶
GraphScope is distributed as a python package and can be easily installed with pip.
GraphScope packages require a pip version > 19.0 (or > 20.3 for macOS)
# Requires the latest pip
pip3 install --upgrade pip
# Current stable release
pip3 install --upgrade graphscope
Install GraphScope Client for Kubernetes¶
For quickly getting started, we set up a local kubernetes cluster and take advantage of pre-built Docker images as follows. The following dependencies or tools are required.
Python 3.7 - 3.9
Local Kubernetes cluster set-up tool (e.g. Kind)
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 k8s environment preparing script.
./scripts/install_deps.sh --k8s
Install a subset of the whole package with client functions only for running GraphScope on Kubernetes.
# Requires the latest pip
pip3 install --upgrade pip
# Current stable release
pip3 install --upgrade graphscope-client