-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Describe the bug
Error when reaching the report module claiming that the libraries were not installed
Command line
python -m robert --names name --y Target_values --csv_name robertinput.csv
Software versions
Versions of the programs used
- ROBERT: 2.0.2
- scikit-learn intelex: 2025.2.0
Installation followed
Did you install ROBERT executing "pip install robert" only, or you followed all the steps included in ReadTheDocs?
I did (although I used mamba instead of conda but it shouldn't matter), it was a fresh conda environment:
mamba activate # activate base environment
mamba create -p ~/venvs/robert python=3.10
mamba activate /home/raulps/venvs/robert
python -m pip install robert
python -m pip install scikit-learn-intelex==2025.2.0
mamba install -c conda-forge glib gtk3 pango mscorefonts
System
- OS: Ubuntu 22.04 LTS
Additional information
In my case after some digging I found that the actual error was:
OSError: cannot load library 'libgobject-2.0-0': libgobject-2.0-0: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libgobject-2.0-0'
which I could solve by installing gtk2 in my environment:
mamba install -c conda-forge gtk2
Either the documentation has a typo and gtk3 is not needed or gtk2 and gtk3 are both needed.