Skip to content

Commit 879e8ae

Browse files
author
Robin Manhaeve
authored
Update README.md
1 parent 0e5d0aa commit 879e8ae

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

README.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ For more information, consult the papers listed below.
1010
DeepProbLog can easily be installed using the following command:
1111
Make sure the following packages are installed:
1212
```
13-
sudo apt install libpython3-dev python3-dev
14-
```
15-
Then you can install DeeppProblog using pip
16-
```
17-
pip install git+https://github.com/ML-KULeuven/deepproblog
13+
pip install deepproblog
1814
```
1915

2016
## Test
@@ -26,31 +22,20 @@ and run
2622
```
2723
python -m deepproblog test
2824
```
29-
## Troubleshooting
30-
In some cases, the installation of PySDD can fail, as indicated by the following error:
31-
```
32-
problog.errors.InstallError: The SDD library is not available. Please install the PySDD package.
33-
```
34-
To fix this, reinstall PySDD from source:
35-
```
36-
pip uninstall pysdd
37-
pip install git+https://github.com/wannesm/PySDD.git#egg=PySDD
38-
```
3925
4026
## Requirements
4127
4228
DeepProbLog has the following requirements:
4329
* Python > 3.9
4430
* [ProbLog](https://dtai.cs.kuleuven.be/problog/)
4531
* [PySDD](https://pysdd.readthedocs.io/en/latest/)
46-
- Use `pip install git+https://github.com/wannesm/PySDD.git#egg=PySDD`
4732
* [PyTorch](https://pytorch.org/)
4833
* [TorchVision](https://pytorch.org/vision/stable/index.html)
4934
5035
## Approximate Inference
5136
To use Approximate Inference, we have the followign additional requirements
5237
* [PySwip](https://github.com/ML-KULeuven/pyswip)
53-
- Use `pip3 install git+https://github.com/ML-KULeuven/pyswip`
38+
- Use `pip install git+https://github.com/ML-KULeuven/pyswip`
5439
* [SWI-Prolog < 9.0.0](https://www.swi-prolog.org/)
5540
The latter can be installed on Ubuntu with the following commands:
5641
```
@@ -69,7 +54,7 @@ The experiments are presented in the papers are available in the [src/deepproblo
6954
3. Robin Manhaeve, Giuseppe Marra, Luc De Raedt:
7055
*Approximate Inference for Neural Probabilistic Logic Programming*. KR 2021
7156
## License
72-
Copyright 2021 KU Leuven, DTAI Research Group
57+
Copyright 2023 KU Leuven, DTAI Research Group
7358
7459
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7560

0 commit comments

Comments
 (0)