在python3中出现的 ImportError: cannot import name 'abcstractmethod' from 'abc'
ABC和抽象类在python2.7文档中定义,并且存在于/usr/lib/python2.7中,必须强制sphinx使用python3.x。
但是使用python3安装sphinx解决了这个问题:
pip3 install sphinx
ABC和抽象类在python2.7文档中定义,并且存在于/usr/lib/python2.7中,必须强制sphinx使用python3.x。
但是使用python3安装sphinx解决了这个问题:
pip3 install sphinx