源码怎么运行
来源:1-1 项目演示和课程介绍
田丰丰丰丰丰丰丰
2019-03-07
下载下来源码想要运行起来看看效果,最后一步输入 python manage.py runserver
时报错:
Unhandled exception in thread started by <function wrapper at 0x00000000045874A8>
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\Python27\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "C:\Python27\lib\site-packages\django\utils\autoreload.py", line 249, in raise_last_exception
six.reraise(*_exception)
File "C:\Python27\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\Python27\lib\site-packages\django\__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Python27\lib\site-packages\django\apps\registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "C:\Python27\lib\site-packages\django\apps\config.py", line 90, in create
module = import_module(entry)
File "C:\Python27\lib\importlib\__init__.py", line 37, in import_module
__import__(name)
File "C:\Users\hello\Desktop\code\MxOnlie\extra_apps\xadmin\__init__.py", line 4, in <module>
from xadmin.sites import AdminSite, site
File "C:\Users\hello\Desktop\code\MxOnlie\extra_apps\xadmin\sites.py", line 3, in <module>
from future.utils import iteritems
ImportError: No module named future.utils
这个要怎么解决呢?
写回答
1回答
-
Ethreal
2019-03-08
下载讲师源代码,然后里面有md说明文档 阅读下,需要安装完所有依赖,还有些数据库配置,说明文档均有说明
032019-03-10
相似问题