No module named Image

django-grappelli, image, python, python-imaging-library

Solution

Did you setup PIL module? Link

You can try to reinstall it on your computer.

Problem

Sorry for my grammar, I don't speak English. After I set filebrowser, tinymce, and grappelli, I get this error: `No module named Image` ``` try: from PIL import Image except ImportError: import Image ``` I set it to `PIL` but it didn't solve the problem. my platform windows If i want: pip install PIL ``` `c:\Users\Kim\BitNami DjangoStack projects\homex8>pip install PIL Downloading/unpacking PIL Running setup.py egg_info for package PIL WARNING: '' not a valid package name; please use only.-separated package names in setup.py Installing collected packages: PIL Running setup.py install for PIL WARNING: '' not a valid package name; please use only.-separated package names in setup.py building '_imaging' extension error: Unable to find vcvarsall.bat` ``` I do not understand what that means Solved problem. reinstall PIL with easy_install, and more movements, here are the details.

Original source