Python: Unable to Render Tex in Matplotlib
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I recently upgraded my laptop to Snow Leopard, updated TeX to Version 3.1415926 (TeX Live 2011/MacPorts 2011_5), and installed Python 2.7.3. After all these installs, I ran macport selfupdate and macport upgrade outdated. However, now when I try to use TeX in matplotlib, I receive the following: LaTeX was not able to process the following string : 'lp' Here is the full report generated by LaTeX : This is pdfTeX , Version 3.1415926 - 2.3 - 1.40 . 12 ( TeX Live 2011 / MacPorts 2011 _5 ) restricted \write18 enabled . entering extended