ML-KULeuven / problog

ProbLog is a Probabilistic Logic Programming Language for logic programs with probabilities.
https://dtai.cs.kuleuven.be/problog/
298 stars 34 forks source link

PySDD / SDD package is not being detected in branch dcproblog_develop #38

Closed shuvrobiswas closed 4 years ago

shuvrobiswas commented 4 years ago

Hey guys,

Great package and research on probabilistic logic, and support for continuous probability distributions (in the dcproblog_develop branch). Looking forward to playing around with this.

There are some issues arising on the dcproblog_develop branch, on a clean ubuntu 18.04 machine with python 3.6.9 installed, after installing the dcproblog_develop branch. Running problog with the dc flag requires PySDD to be installed. I've installed this from: https://github.com/ML-KULeuven/PySDD (which requires replacing some of the files in the repo with downloaded files from: http://reasoning.cs.ucla.edu/sdd/ - would highly recommend including these in the repo to prevent user error).

When running example code involving continuous random variables, PySDD is not detected (though it is importable, works and pip3 freeze displays it):

image

PySDD working:

image

(apologizes for the major updates on this installation / test run issue, have been trying to get this working for a while now!)

wannesm commented 4 years ago

The PySDD package you installed was not updated in the last 2 years. Can you retry installing and use the version available from PIP or https://github.com/wannesm/PySDD ?

shuvrobiswas commented 4 years ago

Thanks for that pointer @wannesm - looks like it's working!

image