apologies for the slow reply; I'm still getting caught up from my vacation.

If you start the system python from the command line, can that find the
rdkit? You can test this as follows:
python -c 'from rdkit import Chem'

if that works, you know that the installation worked and that the problem
is with spyder (that's harder for me to help with, but if you google for
rdkit and spyder you might find some helpful answers).

If the above doesn't work, then we can start trying to diagnose what went
wrong with the install, Please start with:
which python
to make sure that you are in fact using the system python.

-greg


On Sat, Aug 19, 2017 at 4:05 PM, Stephen P. Molnar <s.mol...@sbcglobal.net>
wrote:

> I have installed the Debian Stretch distribution Spyder3 and RDKit on my
> 64 bit Linux platform.
>
> There were no warning or error messages during the istallation process.
>
> However, when I attempted running a cookbook Python script (file
> attached), I got the following;
>
> Python 3.5.3 (default, Jan 19 2017, 14:11:04)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 6.1.0 -- An enhanced Interactive Python.
>
> runfile('/home/comp/Apps/Python/untitled0.py',
> wdir='/home/comp/Apps/Python')
> Traceback (most recent call last):
>
>   File "<ipython-input-1-3842c59475d8>", line 1, in <module>
>     runfile('/home/comp/Apps/Python/untitled0.py',
> wdir='/home/comp/Apps/Python')
>
>   File 
> "/usr/local/lib/python3.5/dist-packages/spyder/utils/site/sitecustomize.py",
> line 688, in runfile
>     execfile(filename, namespace)
>
>   File 
> "/usr/local/lib/python3.5/dist-packages/spyder/utils/site/sitecustomize.py",
> line 101, in execfile
>     exec(compile(f.read(), filename, 'exec'), namespace)
>
>   File "/home/comp/Apps/Python/untitled0.py", line 11, in <module>
>     from rdkit import Chem
>
> ImportError: No module named 'rdkit'
>
> I would greatly appreciate pointers towards a solution to this problem.
>
> Thanks in advance.
>
> --
> Stephen P. Molnar, Ph.D.                Life is a fuzzy set
> www.molecular-modeling.net              Stochastic and multivariate
> (614)312-7528 (c)
> Skype: smolnar1
>
> ------------------------------------------------------------
> ------------------
> 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

Reply via email to