New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named PIL #14
Comments
Try to install PIL, I'll check if there is any issue installing Thanks! |
No dice.
still get the No module named PIL when I try to run |
Open a python console and type |
Yep. That was it. I got PIL installed and now |
For future reference, I went through these steps to get PIL working: http://www.p16blog.com/p16/2008/05/appengine-installing-pil-on-os-x-1053.html |
Thank you very much @jazzsequence ! |
This seems to be a bit more complicated than you might guess. PIL's packaging is a bit of a mess -- see e.g. http://mail.python.org/pipermail/image-sig/2010-August/006480.html. In particular, for many folks Various OS distros and users have apparently responded with fixes and alternate packagings, but the official package is still a mess. My personal current workaround is to use the 'Pillow' package instead (http://pypi.python.org/pypi/Pillow). For 'glue', though, it might be nice to have a fallback import e.g.:
|
That would help your users avoid the gnarly problems that can occur installing PIL directly, yep. |
After 0.2.7 Glue will require Pillow and not Pil, so this issue should be fixed now. Thank you guys! |
I've just released glue 0.2.7 and now requires Pillow instead of PIL. Thank you very much for your help! |
OSX 10.7.2
Homebrew wasn't installed (even though Xcode was), so I installed that manually. No problem with the
brew install jpeg
.sudo pip install glue
gave me asudo: pip: command not found
so ran thesudo easy_install glue
That worked, but whenever I invoke
glue
I get:Any help?
The text was updated successfully, but these errors were encountered: