Message 1 of 1
Maya cannot find PIL module despite it being installed?
Not applicable
05-01-2010
07:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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 (though it seems like its only looking in the ..\maya\Python\lib\site-packages folder.)
anyway, any help would be greatly appreciated. thanks so much.
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 (though it seems like its only looking in the ..\maya\Python\lib\site-packages folder.)
anyway, any help would be greatly appreciated. thanks so much.