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

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

    I do not know why, but uninstalling and then reinstalling Pillow (same version) solved this problem for me.

    python -m pip uninstall Pillow
    python -m pip install Pillow
    

    The Pillow version was 7.1.1.

提交回复
热议问题