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

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

    I had this error using PyCharm's debugger. I had to go to Settings->'Project Interpreter' highlight 'Pillow' and hit the little up arrow on the right to upgrade it. Then the error disappeared.

提交回复
热议问题