Closed Versallius closed 7 months ago
Hmm. That was not a very informative error. What system are you running this on?
This is on Windows 10. I'm not sure what else I can provide to help, but the environment was set up according to the README:
conda create "python>=3.8,<3.10" -n aizynth
conda activate aizynth
python -m pip install aizynthfinder[all]
download_public_data data
then installed Pillow=9.0.0 as in the notebook and then the block above. Everything else seems to run fine except for "Error displaying widget".
Update:
It looks like the issue is being caused by the notebook v7 update in Jul 2023. Issue was solved by downgrading:
pip install notebook==6.1.5
followed by:
jupyter nbextension enable --py --sys-prefix widgetsnbextension
Thanks for finding a solution. It looks like we have to update the GUI to work with the more modern v7 notebooks. We will add that to our roadmap. @Lakshidaa
I installed ipywidgets and it fixed the issue even with the latest notebook (7.0.6) https://ipywidgets.readthedocs.io/en/7.x/user_install.html
Hello @Enache-David Can you elaborate on what you fixed?
The widgets were not displaying, instead there was the same error: "Error displaying widget". After installing ipywidgets the widgets appeared.
Fixed by #141
Followed instructions for installation and used the following code from this demo (https://github.com/MolecularAI/aizynthfinder/blob/master/contrib/notebook.ipynb):
Results in the following output from Jupyter notebook: