Python ';不合格标签';在Django中不是有效的标记库错误

Python ';不合格标签';在Django中不是有效的标记库错误,python,django,disqus,Python,Django,Disqus,无论我尝试什么,我都会遇到这个错误: TemplateSyntaxError 'disqus_tags' is not a valid tag library: Template library disqus_tags not found In template /home/myproject/zinnia/templates/zinnia/entry_detail.html,error at line3 1 {% extends "base.html" %} 2 {% load

无论我尝试什么,我都会遇到这个错误:

TemplateSyntaxError

'disqus_tags' is not a valid tag library: Template library disqus_tags not found

In template /home/myproject/zinnia/templates/zinnia/entry_detail.html,error at line3

1   {% extends "base.html" %}
2   {% load i18n comments zinnia_tags  thumbnail %}
3   {% load disqus_tags  %}
4   

我正在尝试的代码在服务器和另一台计算机上运行良好。有什么问题吗?

以上您已经说明您已经安装了
discus
django discus
软件包。我高度怀疑它们都提供了
discs
python模块。删除
disqs==0.0.4
包,一切正常
django Discus
没有任何附加要求。

可能是在安装要求时软件包未正确安装。检查
pip freeze
以确保本地安装了
django discus
。我得到了
discus==0.0.4
django discus==0.4.1
。这是什么意思?我知道:
INSTALLED\u APPS=(“django.contrib.auth”、“django.contrib.comments”、“django.contrib.contenttypes”、“django.contrib.sessions”、“django.contrib.sites”、“django.contrib.messages”、“django.contrib.admin”、“ckeditor”、“disks”…
ImportError:没有名为templatetags.discus的模块(我希望你注意到我编辑了我的答案以避免重复发布)已成功卸载Disqs,但现在我在pip freeze中没有Disqs!问题仍然是一样的!使用
pip install django Disqs==0.4.1
,您应该会没事的。只需确保您没有键入
pip install Disqs
,因为两者会再次冲突。