latex故障ipython daft matplotlib

latex故障ipython daft matplotlib,python,matplotlib,latex,ipython,daft,Python,Matplotlib,Latex,Ipython,Daft,我很想尝试daft(),通过它我发现latex功能在matplotlib中不起作用 我将示例粘贴到daft网站(): 这就是ipython给我的回报 RuntimeError: LaTeX was not able to process the following string: 'lp' Here is the full report generated by LaTeX: 没有ipython或LaTex提供的报告。请参见屏幕截图: matplotlib网站上的标准脚本也给了我同样的

我很想尝试daft(),通过它我发现latex功能在matplotlib中不起作用

我将示例粘贴到daft网站():

这就是ipython给我的回报

RuntimeError: LaTeX was not able to process the following string:  
'lp'
Here is the full report generated by LaTeX: 
没有ipython或LaTex提供的报告。请参见屏幕截图:


matplotlib网站上的标准脚本也给了我同样的错误。是否有办法检查是否满足所有依赖项?LaTex安装在我的系统上,但我不确定ipython是否可以访问它

在我的例子中,它是一个需要安装的LaTex库(很抱歉,我没有注意到哪一个)

它自动打开了我的MikTex安装程序,所以你安装了建议的库,你应该完成了


不需要从命令行访问“lp”。

lp命令()看起来像是用来从latex创建dvi的,因此您似乎没有安装它。你的操作系统是什么?我从命令行猜测您没有访问lp可执行文件(“whence lp”)的权限?我使用mac ox.10.8.4。您看到的gui/终端是anaconda发行版的Qt控制台。它没有显示,这就是问题所在。没有给出输出。请看屏幕截图。忘记ipython,我认为您无法从命令行访问“lp”。对吗?我不知道。我有使用乳胶和ipython的经验,但我似乎无法让它们一起工作。错误表明latex在处理字符串“lp”时遇到问题,因此我假设它只引用python对象
RuntimeError: LaTeX was not able to process the following string:  
'lp'
Here is the full report generated by LaTeX: