Suhaila Haji Mohd Hussin wrote, On 03/05/12 00:22:
> So how do you do it on Windows then?
> 
> But I already have PIL despite having that error import image is 
> missing. I don't get it.

for which python do you have PIL? Your PyMOL installation uses it's own 
python executable (built into the PyMOL.exe program).

The "easy" answer is: Incentive PyMOL builds from version >= 1.4 have 
PIL included. So if you own a license, you could just install the recent 
version (1.5). I guess you have PyMOL <= 1.2

What could also work: As far as I can see, the contact_map_visualizer 
uses PIL only to determine the size of the image, which does not depend 
on the C module which is part of PIL. So you could try to just copy the 
"PIL" directory and the "PIL.pth" file to the "site-packages" directory 
of your PyMOL installation. You'll find it by typing into PyMOL command 
line:

import site, os
print os.path.join(os.path.dirname(site.__file__), 'site-packages')

Hope that helps.

Cheers,
   Thomas

-- 
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to