1. エラーを報告する
matplotlib
呼び出しlatex
生成使用pdf
時のエラー
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. 解決策
インストールしlatex
てdvipng
pip install latex
sudo apt-get install dvipng
sudo apt-get install -y texlive texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended
を取り付けるときは使用latex
しないでくださいconda
pip
3、参考
RuntimeError: latex が見つからなかったため、tex を使用した文字列の処理に失敗しました_MaXuwl の博客-CSDN 博客