1. 异常描述
RuntimeError: Failed to process string with tex because latex could not be found
RuntimeError: Failed to process string with tex because dvipng could not be found
2. 异常原因
latex 没有安装
dvipng 没有安装
3. 解决方法
pip install latex
sudo apt-get install dvipng
sudo apt-get install -y texlive texlive-latex-extra texlive-latex-recommended
4. 参考链接
- latex用conda一直没有安装成功,用pip一次就行了。
- 解决dvipng: