RuntimeError: latex was not able

2023-12-03  本文已影响0人  辘轳鹿鹿

用matplotlib画图总是会报“RuntimeError: latex was not able to process the following string: b‘lp‘”这个错误,找了好久才找到解决办法。在此记录一下。

[学习链接](RuntimeError: latex was not able to process the following string: b‘lp‘-CSDN博客)

解决办法:把下面的这些都安装一遍

sudo apt install texlive-latex-base

pip3 --default-timeout=100 install -U pdflatex

pip3 install latex

sudo apt-get install dvipng

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

sudo apt-get install cm-super
上一篇 下一篇

猜你喜欢

热点阅读