没有名为 slack 的模块

No module named slack

我正在尝试从 https://github.com/pennersr/django-allauth 测试 [django-allauth/example]。

按照[example/readme.rst,所有步骤都需要测试exmaple如下:

$ git clone git://github.com/pennersr/django-allauth.git
$ cd django-allauth/example
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt

$ python manage.py migrate  # **The promblem happen here**

$ python manage.py createsuperuser
$ python manage.py runserver

当我通过命令“$ python manage.py migrate 迁移数据库时”,出现 [ImportError] 和描述:"no module named slack"

我在 google 上进行了搜索,但没有 python 的标准 [slack 包] 或有关 [slack] 的任何信息。所以,没有办法为我解决这个问题。

什么是 [slack],我该如何通过它?帮帮我。

确保您已根据此处的文档编辑了 settings.py:https://django-allauth.readthedocs.io/en/latest/installation.html。特别包括 'allauth.socialaccount.providers.slack'.