在窗户中安装乳胶,以便您可以在Anaconda环境中使用
我正在尝试在数字中使用乳胶字体。我正在使用此命令:
plt.rcParams['text.usetex'] = True
我会收到以下错误:
latex was not able to process the following string:
b'lp'
似乎我在Windows计算机上缺少乳胶分发。
我尝试使用此处找到的建议来解决:
但是,所有解决方案可用于Ubuntu而且我无法在WSL上使用它。
有什么建议吗?
I am trying to use latex fonts in my figures. I am using this command:
plt.rcParams['text.usetex'] = True
I get the following error:
latex was not able to process the following string:
b'lp'
It seems like I am lacking a latex distribution on my windows computer.
I tried to solve using the suggestions found here:
Matplotlib Error: LaTeX was not able to process the following string: 'lp'
However, all the solutionsonly work for Ubuntu and I was not able to make it work on WSL.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论