I am using django-ckeditor in my django project.
- python 3.7
- Django 2.2.6
- django-ckeditor 5.8.0
- Pillow 6.2.1
For ckeditor, I am using image2. Everything works in my local server. But when I deploy my project to pythonanywhere, I get following errors: in google developer tools-> network-> xhr Status Code: 500 Internal Server Error in error.log of pythonanywhere KeyError: 'pillow' and trace to ckeditor_uploader->backends->init.py line 19
If I comment out the following code in my settings.py, ckeditor works in pythonanywhere.
CKEDITOR_IMAGE_BACKEND = "pillow"
CKEDITOR_FORCE_JPEG_COMPRESSION = True
Any idea why this is the case? Thanks!