I had some problems running Chebifier with the latest rdkit version (2024.9.6):
ImportError: cannot import name 'MolToMPL' from 'rdkit.Chem.Draw' (.venv2\Lib\site-packages\rdkit\Chem\Draw\__init__.py)
MolToMPL is used in result/molplot.py to create attention plots.
I was able to fix this by reverting rdkit to version 2024.3.6
Todo
- Check if there is an alternative to
MolToMPL (maybe rdkit just renamed it?)
- If not, put
rdkit <=2024.3.6 in the requirements