配置完xadmin源码包后启动报错“ Apps aren't loaded yet.”

raise AppRegistryNotReady("Apps aren't loaded yet.") django.core.exceptions.

碰到这种情况就要查看下是否所有的包都安装好了,可见地址:

https://github.com/sshwsfc/xadmin/blob/master/requirements.txt

 

一般是没有安装future包,安装pip install future后可以解决,如果后续会出现没有其他包

或者是把GitHub上这个requirements.txt 这个文件下载下来 然后找到路径,放到对应的虚拟环境下

pip install -r requirements.txt

猜你喜欢

转载自www.cnblogs.com/xfxing/p/9786601.html