出错原因 今天在使用DjangoUeditor富文本编辑器时报错,原因是因为通过pip insatll DjangoUeditor安装的只在python2.x版本支持,python3.x得另外装. 解决方法 在github下载https://github.com/twz915/DjangoUeditor3,然后将其放入项目目录下,使用时import即可.