Hi Andrew,
on Linux, using Anaconda, RDKit and Python 3.6, I always need to
additionally install cairocffi via pip:
pip install cairocffi
Kind regards,
Axel
On 31.08.2018 15:05, Andrew Dalke wrote:
On Aug 31, 2018, at 11:58, Andrew Dalke <da...@dalkescientific.com> wrote:
I am unable to see an inline structure depiction in the Jupyter notebook, nor
in the JupyterLab notebook, tested with both the Python 2 and Python 3 kernels,
and rdkit.__version__ '2018.03.1'.
I've narrowed it down to the Cairo code.
I ran Draw._moltoimg manually, and the d2d.GetDrawingText() call returns b"".
If I do
del Draw.rdMolDraw2D.MolDraw2DCairo
then the image generation code will fall back to MolToImage, and give me an
inline depiction in the notebook.
Andrew
da...@dalkescientific.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss