python/django - “Cannot use ImageField because Pillow is not installed”

后端 未结 11 1171
一向
一向 2021-01-17 11:38

I\'m joining a project, so I want to set up the environnment, so what I did is :

pip install -r requirements.txt

This fully installed all r

11条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-17 12:13

    If you are using Pillow 4.1.0 with Python 3.6.0 then upgrading the Python version will fix this issue. Found the solution here: https://github.com/python-pillow/Pillow/issues/2479#issuecomment-292252147

提交回复
热议问题