There are 2 ways to install GraphVite.
You can install GraphVite from conda with only one line.
conda install -c milagraph graphviteBy default, this will install all dependencies, including PyTorch and
matplotlib. If you only need embedding training without evaluation, you can take
the following alternative with minimum dependencies.
conda install -c milagraph graphvite-miniFirst, clone GraphVite from GitHub.
git clone https://github.com/DeepGraphLearning/graphvite
cd graphviteInstall compilation and runtime dependencies via conda.
conda install -y --file conda/requirements.txtCompile the code using the following directives. If you have faiss installed
from source, you can pass -DFAISS_PATH=/path/to/faiss to cmake.
mkdir build
cd build && cmake .. && make && cd -Finally, install Python bindings.
cd python && python setup.py install && cd -