On Mon, May 7, 2012 at 3:59 PM,  <paul.czodrow...@merckgroup.com> wrote:
> Dear Greg,
> Dear Paul,
>
> thanks for your prompt answers!
>
>
>> > Dear RDKitters,
>> >
>> > when typing in
>> > "from rdkit.sping import PIL"
>> > I end up in this error message
>> > "
>> > Traceback (most recent call last):
>> >  File "<stdin>", line 1, in <module>
>> >  File
>> > "/SW/python/x86_64/2.6/lib/python2.6/site-packages/rdkit/sping/
>> PIL/__init__.py",
>> >  line 2, in <module>
>> >    from pidPIL import *
>> >  File
>> > "/SW/python/x86_64/2.6/lib/python2.6/site-packages/rdkit/sping/
>> PIL/pidPIL.py",
>> >  line 33, in <module>
>> >    import Image, ImageFont, ImageDraw
>> > ImportError: No module named Image
>> > "
>>
>> Do you have PIL installed?
>
> Good question - ctest of RDKit gives a 100 % passed percentage, which I
> find fantastic! I.e. pyDepictor works, which does the 2D depiction, but
> maybe I'm wrong...
>
> BTW, the PIL directory appears rather empty:
> * __init__.py
> * pidPIL.py
> * pilfonts/
>
> On my windows (binary) RDKIt installation, the directory is as empty as
> well, but I guess that the graphics library on Windows comes from a
> different source.

PIL is a separate python package that you need to install:
http://www.pythonware.com/products/pil/

I guess one important question that I forgot to ask is: Why are you
trying to do this;
from rdkit.sping import PIL

-greg

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to