[Python] No module named Image

Discussão em 'Python' iniciado por Stack, Novembro 25, 2025.

  1. Stack

    Stack Membro Participativo

    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.

    Continue reading...

Compartilhe esta Página