问题描述
在macOS上使用matplotlib进行乳胶输出时遇到问题。我安装了乳胶,dvips,ps并可以从命令行运行,并且我遵循rc软件包中的指南:
from matplotlib import rc
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
rc('text',usetex=True)
但是我收到此错误消息
RuntimeError: Failed to process string with tex because latex Could not be found
我检查了$ PATH,一切似乎都正确了,但是python无法找到命令
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)