This is interesting: I discovered by accident that if I launch qtconsole or
jupyter using the links that Anaconda puts in the Windows start menu,
rdkit.Chem imports without error. The error only happens when I launch them
through the Anaconda Launcher.

Nico

On Wed, Feb 24, 2016 at 12:28 PM, Riccardo Vianello <
[email protected]> wrote:

> Hi Nico,
>
> On Wed, Feb 24, 2016 at 1:03 AM, Nico Cantone <[email protected]> wrote:
>
>> Thanks for your reply! I did not have %PYTHONPATH% or %RDBASE% defined,
>> and the qtconsole I used is installed in the same environment as rdkit.
>> Until your reply, I had only tried to import Chem using qtconsole or
>> jupyter notebook (being sure I was in the proper environment), without
>> success. Now that you mention the command prompt, though, I tried it and it
>> works! I was able to successfully import the module, read a SMILES string,
>> and draw a structure. However, I still get the same error when I try to use
>> PyCharm or Spyder. Can you think of any reason why this might be happening?
>>
>
> I can't at the moment think of any specific reason, but I would initially
> check if a different %PATH% or a different working directory, may be
> affecting the DLL resolution in the two cases.
>
> HTH,
> Riccardo
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to