Installation / Executing mlnlearn
Closed this issue · 1 comments
Hello,
I have installed probcog, the latest version, and I am trying to execute the command mlnlearn but getting the following error:
C:\probcog>mlnlearn
Warning: Failed to import SciPy/NumPy (http://www.scipy.org)! Parameter learning with PyMLNs is disabled.
Warning: Failed to import SciPy/NumPy (http://www.scipy.org)! Parameter learning with the MLN module is disabled.
Traceback (most recent call last):
File "C:\probcog\src\main\python\mlnLearningTool.py", line 32, in
import MLN
File "C:\probcog\src\main\python\MLN_init_.py", line 26, in
from MarkovLogicNetwork import *
File "C:\probcog\src\main\python\MLN\MarkovLogicNetwork.py", line 92, in
import learning
File "C:\probcog\src\main\python\MLN\learning_init_.py", line 7, in
from BPLL import *
File "C:\probcog\src\main\python\MLN\learning\BPLL.py", line 29, in
import numpy
ImportError: No module named numpy
Can you help me what's going on. Also, the blnlearn tool seems working fine.
Best regards,
Syed
MLN learning requires the Python packages numpy and scipy. You can install them using your package manager, e.g. pip (pip install numpy
and pip install scipy
).