Python can't find the PIL (Python Image Library) on MacOSX


I'm using Python 2.6.5 (MacPorts install) to which I've added py26-pil by building/installing it from source. My idea version is Maya-IU-95.54
In idea I can edit and run a program that uses the Image library just fine, but I get an "Unresolved Reference" hint at the "import Image" statment and no code completion in the editor.

Do I have to do something else to make intellij recognize the Image library?

- G

1 comment
Comment actions Permalink

The problem went away. I manually threw away the Cache  ~/Library/Caches/IntelliJIdea90 and recreated the Python SDK.
Not  sure what the problem was and what ultimately fixed it.


Please sign in to leave a comment.