python-2.7 – Sphinx的LaTeX错误:找不到文件`titlesec.sty’

前端之家收集整理的这篇文章主要介绍了python-2.7 – Sphinx的LaTeX错误:找不到文件`titlesec.sty’前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
在尝试生成Sphinx项目的PDF文档时,我得到了这个:
! LaTeX Error: File `titlesec.sty' not found.

Type X to quit or <RETURN> to proceed,or enter new name. (Default extension: sty)

Enter file name:

我已经安装了textlive包.

@H_502_6@

解决方法

实际上你只需要texlive-formats-extra来获得361 MB的档案,而不是1,500 MB的texlive-full:
sudo apt install texlive-formats-extra
@H_502_6@ @H_502_6@ 原文链接:https://www.f2er.com/python/186108.html

猜你在找的Python相关文章