我刚在安装pybbm
并运行服务器后遇到这个错误
File "/Users/nathann/code/ipals/env/lib/python2.7/site-packages/pybb/urls.py", line 4, in <module>
from django.conf.urls.defaults import *
ImportError: No module named defaults
我不知道该怎么处理它,因为它是pybb
的一部分,而不是我的代码。在
这是我的pip freeze
:
^{pr2}$
Tags:
这是因为您使用的是django1.6.3。根据Django 1.4 changelog:
换句话说,您需要将
pybbm
升级到最新版本:相关问题 更多 >
编程相关推荐