我尝试使用django-comments-xtd,当我配置所有内容时,我收到此错误,ImportError:没有名为comments的模块 我正在使用django 1.8,我做了pip install django-cotnrib-comments并将' django_comments'设置为我已安装的应用程序。我做错了什么?
INSTALLED_APPS = (
'django_comments',
'django_comments_xtd',)
Traceback:
:
File "manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
.2/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
utility.execute()
.2/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 312, in execute
django.setup()
.2/env/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
.2/env/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
.2/env/local/lib/python2.7/site-pack 119, in create
import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named comments