importerror:cannot import name 'smart_unicode'

xadmin的版本有问题,因为大量使用了python2的模块,但在python3已然放弃这些模块,直接用以下命令安装即可:

pip install https://github.com/sshwsfc/xadmin/tarball/master

猜你喜欢

转载自www.cnblogs.com/Luweiping/p/10660522.html