获取“No module named django_messages” [英] Getting "No module named django_messages"
问题描述
我正在使用一个名为 DjangoBB 的Django应用程序。我试图将它安装在我的服务器上,但是我遇到了消息插件/应用程序。
I'm working with a Django app, called DjangoBB. I'm trying to install it on my server, but I'm getting stuck with the messages plugin/app.
这个输出对我来说没有任何意义。
This output doesn't make any sense to me...
# pip install django-messages
Requirement already satisfied (use --upgrade to upgrade): django-messages in /usr/local/lib/python2.7/dist-packages
Cleaning up...
# python manage.py runserver
Error: No module named django_messages
我与其他模块也有同样的问题,如django-registration和django_notifications,但是我刚刚将它们弹出到$ $ c> pip ,然后再次通过,得到一个新的缺失依赖。它被困在这里。任何想法?
I had the same problem with other modules, like django-registration, and django_notifications, but I just popped them into pip
and then went through again and got a new missing dependency. It's stuck here though. Any ideas?
我的INSTALLED_APPS:
My INSTALLED_APPS:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sitemaps',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.humanize',
'registration',
'pagination',
'django_authopenid',
'djangobb_forum',
'haystack',
'django_messages',
)
推荐答案
实际应用程序称为'message'
。确保将其添加到您的 INSTALLED_APPS
。
The actual app is called 'messages'
. Make sure you add it to your INSTALLED_APPS
.
这篇关于获取“No module named django_messages”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!