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

后端 未结 11 1168
一向
一向 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:17

    I was having this problem on a Mac with Python 3.6.4. The solution was to uninstall Pillow 5.1.0 and instead install 5.0.0.

    pip uninstall Pillow
    pip install Pillow==5.0.0
    

提交回复
热议问题