RuntimeError: Failed to process string with tex because [latex]()could not be found

1. Report an error

Error when using matplotlibcall latexgenerationpdf

RuntimeError: Failed to process string with tex because [latex](https://so.csdn.net/so/search?q=latex&spm=1001.2101.3001.7020) could not be found

2. Solution

Install latexanddvipng

pip install latex
sudo apt-get install dvipng
sudo apt-get install -y texlive texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended

When installing latex, do not condausepip

3, reference

RuntimeError: Failed to process string with tex because latex could not be found_MaXuwl的博客-CSDN博客

Guess you like

Origin blog.csdn.net/weixin_37950717/article/details/125221901