<p>我在RHEL6.7上通过Anaconda使用ipython笔记本。机器设置了一个NFS存储;即,<code>df -P -T /home/USERNAME | tail -n +2 | awk '{print $2}'</code>打印“NFS”。在</p>
<p>所以我想保存在ipython笔记本中创建的matplotlib图形。但是,调用<code>savefig</code>函数会产生这样的错误(我已经抑制了大部分错误):</p>
<pre><code>RuntimeError: dvipng was not able to process the following file:
/home/USERNAME/.cache/matplotlib/tex.cache/3007d273a0b2642aa3abce6d3d640283.dvi
Here is the full report generated by dvipng:
No dvipng error report available.
</code></pre>
<p>我怀疑这与NFS有关(因为它在过去给我带来了其他问题),但除此之外,我真的不知道从这里该怎么办。非常感谢任何帮助,如果我能提供更多的信息,请告诉我。在</p>