Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

468
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!