RuntimeError: latex was not able to process the following string: b‘lp‘

用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
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容