美文网首页
RuntimeError: latex was not able

RuntimeError: latex was not able

作者: 辘轳鹿鹿 | 来源:发表于2023-12-03 09:24 被阅读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

相关文章

网友评论

      本文标题:RuntimeError: latex was not able

      本文链接:https://www.haomeiwen.com/subject/cgukgdtx.html