No module named 'allauth.account.context_processors'

后端 未结 4 1135
执笔经年
执笔经年 2021-01-02 07:24

I want to use Django-Allauth, so I installed as following and it works perfectly in my laptop localhost; but when I pull it in my server, I encounter with the following err

4条回答
  •  说谎
    说谎 (楼主)
    2021-01-02 07:51

    This error means that the module could not be found.

    You probably just need to install the 3rd party module called allauth on your server (or add it to requirements.txt, if you are using automatic deploys like on Heroku).

    pip install django-allauth
    

    You can run pip freeze locally to see which modules are installed.

    To install a specific version of django-allauth, use:

    pip install django-allauth==0.22.0
    

提交回复
热议问题