DjangoUeditor是基于Python 2.7的对Python3的支持有问题。导致widgets.py文件出错不能import。采用网上修改好的版本DjangoUeditor3即可https://github.com/twz915/DjangoUeditor3复制文件夹里面的DjangoUeditor文件夹放到环境下的lib/site-packages/下C:\Users\xxx\AppData\Roaming\Python\Python37\site-packagesD:\python\Lib\site-packages相关参考https://www.jianshu.com/p/d236a33a8c01https://github.com/twz915/DjangoUeditor3