Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
确保Django 的settings.py中的DEBUG=TRUE,
报错的浏览器页面就会有尽可能多的信息,
解决方案:
subl /home/appleyuchi/.virtualenvs/python3.7/lib/python3.7/site-packages/html5lib/_trie/_base.py
from collections import Mapping
改为:
from collections.abc import Mapping
注意:
不一定是上面的这个文件,也可能是其他文件,具体哪个文件根据浏览器页面的报错信息来解决