Re: [Rdkit-devel] ImportError: No module named 'pidSVG'
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Greg L. <gre...@gm...> - 2015-03-10 05:37:44
|
Hi Cyrus, That's something we missed when we did the Python3 port of the RDKit. It turns out that there are a few of these problems in the rdkit.sping package that need to be brought up to date. I will get those fixed and checked in the next day or so. Thanks for reporting the problem, -greg On Tue, Mar 10, 2015 at 2:37 AM, Cyrus Harmon <cy...@bo...> wrote: > 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> > Draw.MolToFile(mol,args.output,size=(500,500)) > 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? > > thanks, > > Cyrus > > > > ------------------------------------------------------------------------------ > 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 > Rdk...@li... > https://lists.sourceforge.net/lists/listinfo/rdkit-devel > |