ViM-LaTeX,python和Mac OS 10.8.1以及一个奇怪的错误

时间:2012-08-28 02:41:53

标签: python macos vim latex

我刚刚将我的机器更新为Mountain Lion(10.8.1),我正在尝试安装vim-latex。我现在每天使用该套件大约5年,但是当我尝试进行全新安装并打开.tex文件时,我收到以下错误消息。

"UnitCircleAnalysis.tex" 118L, 4154CTraceback (most recent call last):
   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 565,
in File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 547,
in main File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 278,
in addusersitepackages File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 253,
in getusersitepackages File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 243,
in getuserbase File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 523,
in get_config_var File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 419,
in get_config_vars File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 298,
in _init_posix IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)

这似乎是Python实现的一个问题。有什么建议如何解决这个问题?

0 个答案:

没有答案