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

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

    For python3 make sure your $PYTHONPATH has the virtualenv path and Instead of running the command

    python manage.py migrate
    

    Run:

    python3 manage.py migrate
    

提交回复
热议问题