当我尝试sphinx-build --version
时,会弹出此错误:
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Sphinx==1.8.5' distribution was not found and is required by the application
如何解决?
答案 0 :(得分:0)
U从system-package-managemetn(例如apt)和pip安装sphinx。只需删除系统的狮身人面像。