Installation

PyNeuraLogic can be easily installed from PyPI repository via pip install command.

Tip

pip install neuralogic

Requirements

The PyNeuraLogic library requires Python >= 3.8 and Java >= 1.8 to be installed.

Additionally, if you plan to use NeuraLogic as PyTorch function, you have to install PyTorch manually.

In case you want to use visualization provided in the library, it is required to have Graphviz installed.