Maya cannot find PIL module despite it being installed?

Maya cannot find PIL module despite it being installed?

Anonymous
Not applicable
768 Views
0 Replies
Message 1 of 1

Maya cannot find PIL module despite it being installed?

Anonymous
Not applicable
So earlier today I went to http://www.pythonware.com/products/pil/ and downloaded PIL v1.1.7 for Python v2.6 and installed it. I checked out C:\Python26\Lib\site-packages just to make sure everything was installed properly and it seems to be. However when I try to import PIL in the maya python script editor I get the following error:

import PIL as pil
or
from PIL import Image

# Error: No module named PIL
# Traceback (most recent call last):
# File "<maya console>", line 3, in <module>
# ImportError: No module named PIL #

I'm not sure why maya can't seem to find this module &#40;though it seems like its only looking in the ..\maya\Python\lib\site-packages folder.&#41;

anyway, any help would be greatly appreciated. thanks so much.
0 Likes
769 Views
0 Replies
Replies (0)