xadmin的版本有问题,因为大量使用了python2的模块,但在python3已然放弃这些模块,直接用以下命令安装即可: pip install https://github.com/sshwsfc/xadmin/tarball/master 文章导航 Python3-AttributeError: module ‘sys’ has no attribute ‘setdefaultencoding DjangoUeditor ImportError: No module named ‘widgets’