Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

469
Visualizações
Django: How to set up Pillow?

I had my app working with ImageField via Pillow. An unrelated issue set off an update domino chain and now I am stuck trying to get Pillow to work.

My upgrade to Python 3.6 forced me to upgrade Pillow to version 4, which doesn't seem to work with Django. When I run a check I get:

gallery.Photo.image: (fields.E210) Cannot use ImageField because Pillow is not installed.
HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".

Of course I have already done that. I upgraded to Django 1.11, but I am still getting this same error.

I tried adding Pillow to my INSTALLED_APPS, but it was not found. Besides, I hadn't needed to do that before. How can I troubleshoot this issue?

UPDATE: I printed out a list of modules on my virtual environment and I couldn't find Pillow on the list. However, I can see the files in my env directory.

All of the other apps that installed in the same environment with the same pip were listed on the modules readout and when I try to install Pillow again, it tells me the requirement is already satisfied.

I did find an item called pil on the list, but I am not able to uninstall anything called pil or PIL from the env.

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I reinstalled the latest release of Pillow a couple of times to no avail. Rolling back to Pillow==4.0 seemed to solve it.

https://github.com/python-pillow/Pillow/issues/2482

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda