I’m trying to get a python program that uses rdkit running on macos and I keep 
getting the following error:

  File "./rdkit-2d-draw.py", line 31, in <module>
  File "/usr/local/lib/python3.4/site-packages/rdkit/Chem/Draw/__init__.py", 
line 167, in MolToFile
    canvas = Canvas(size=size,name=fileName,imageType=imageType)
  File "/usr/local/lib/python3.4/site-packages/rdkit/Chem/Draw/spingCanvas.py", 
line 33, in __init__
    from rdkit.sping.SVG.pidSVG import SVGCanvas as _Canvas
  File "/usr/local/lib/python3.4/site-packages/rdkit/sping/SVG/__init__.py", 
line 3, in <module>
    from pidSVG import *
ImportError: No module named 'pidSVG'

It works for me on my unix box that uses the debian packaged rdkit, but fails 
for me on MacOS. Surely I’m doing something wrong in configuring my various 
python libraries, but I’m at a loss as to how to fix this.

Any suggestions on how to make my program find the pidSVG stuff?



Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Rdkit-devel mailing list

Reply via email to