欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Django源码安装xadmin报错Apps aren't loaded yet.

程序员文章站 2022-06-09 13:31:00
环境:python2.7, django1.9 1、报错django.core.exceptions.AppRegistryNotReady:Apps aren't loaded yet.如下图所示: Apps aren't loaded yet Apps aren't loaded yet App ......

环境:python2.7, django1.9


1、报错django.core.exceptions.appregistrynotready:apps aren't loaded yet.如下图所示:

Django源码安装xadmin报错Apps aren't loaded yet.

apps aren't loaded yet

解决方法:安装future模块: pip install future

 

2、安装好future后,报importerror: no module named requests,如下图

Django源码安装xadmin报错Apps aren't loaded yet.

解决方法:下载安装requests包:pip install requests

 

3、安装future后,报错:importerror: no module named six,如下图:

 Django源码安装xadmin报错Apps aren't loaded yet.

解决方法:下载安装six包:pip install six


4、安装six包后,报错:importerror: no module named import_export.admin,图下图:

 Django源码安装xadmin报错Apps aren't loaded yet.

解决方法:安装django-import-export包:pip install django-import-export


5、成功

Django源码安装xadmin报错Apps aren't loaded yet.

 

可见基本上错误都是由于缺少包引起的,总之报缺少什么安装包,你就去安装对应的安装包就可以了。