On 07/05/12 12:49, paul.czodrow...@merckgroup.com wrote:
> 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
> "
>
> My first guess would be that some path (PYTHONPATH) setting is wrong, but
> I'm not sure about it...
>

Of the top of my head,

either

(yes) PYTHONPATH is not set so that it can find Image.py

or LD_LIBRARY_PATH is not set so that it can find libImage.so

HTH,

Paul.




------------------------------------------------------------------------------
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