[solved] Opensesame 0.27pre1 error: "No module named PIL"
I tried running the latest Opensesame snapshot from github and it starts up fine. If I drag one of the new form items into the experiment tree however, I get the error message
"No module named PIL"
I guess Opensesame tries to import the Python Image Library, but isn't this imported with "Image"?
Entering
"import Image"
into my Python interpreter gives no problems, so the Python Image Library is correctly installed


Comments
I suspect this has to do with the version of PIL that is installed. There's some ambiguity about the proper way to import PIL. Whether it is
or
If you try the first import statement in a Python console, do you also get an error? In that case, I'll probably add a 'try... except' statement to fall back to the second import statement if the first fails.
Thanks!
Check out SigmundAI.eu for our OpenSesame AI assistant!
from PIL import ImageGives me the same error: No module named PIL.
I think catching this with a try/except is a good idea
Fixed. I also uploaded a pre-release package that may be useful for testing: http://files.cogsci.nl/software/opensesame/pre-releases/
Very early days though, so expect bugs!
Check out SigmundAI.eu for our OpenSesame AI assistant!