Hi Peter,
that's odd behavior.
The internet seems to think that this may be solvable by trusting the
notebook.
Can you please check under the notebook's File menu to see if it shows up
as a "trusted notebook". If not, then trust it.
-greg
On Mon, Oct 10, 2016 at 4:46 AM, Peter S. Shenkin <[email protected]> wrote:
> I actually have never used jupyter before; I've always been a vi & cmdline
> user. But I thought this would be a good time to start learning to use some
> of the newer tools, and I really like the ability to render images right
> there in the notebook.
>
> There's a RDKit jupyter notebook at nbviewer.jupyter.org that includes a
> 2D rendering; however, the same notebook does not produce a rendering on my
> local machine.
>
> The two screen shots are attached. Advice would be appreciated.
>
> I should say that I'm on Mac OS El Capitan, running from an Anaconda
> environment with Python 2.7.
>
> By the way, when (in a separate notebook) I simply render benzene (code as
> follows), this succeeds:
>
> from rdkit import Chem
> from rdkit.Chem.Draw import IPythonConsole
> Chem.MolFromSmiles("c1ccccc1")
> <this produces a rendering of benzene>
>
>
> -P.
>
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss