Install CogKGE

CogKGE can be installed from git and pip.

System requirements

CogKGE requires Python version 3.7 or later.

CogKGE requires torch version 1.7.0 or later. If you want to use CogKGE with GPU, please ensure that CUDA or CUDAToolkit version is 9.2 or later. This requires NVIDIA driver version >= 396.26 (for Linux) or >= 397.44 (for Windows10).

Install from git

To install CogKGE from git, you need to run this command:

Clone CogKGE

git clone

Install CogKGE

cd cogkge
pip install -e .
pip install -r requirements.txt

Install from pip

To install CogKGE from pip, you need to run this command:

pip install cogkge

You can read the Quick Start to get more information about quick starting.