ViM-LaTeX, python, and Mac OS 10.8.1 and a weird error

天涯浪子 提交于 2019-12-11 04:39:11

问题


I just updated my machine to Mountain Lion (10.8.1) and am trying to install vim-latex. I have used the suite daily for about 5 years now, but when trying to do a clean install and opening up a .tex file I get the following error message.

"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)

This appears to be a problem with the Python implementation. Are there any suggestions how to fix this?

来源:https://stackoverflow.com/questions/12152113/vim-latex-python-and-mac-os-10-8-1-and-a-weird-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!