2

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?

9
  • Please format the error neatly in a code block to make it more readable Commented Aug 28, 2012 at 2:44
  • Similar question: stackoverflow.com/questions/5345934/… Commented Aug 28, 2012 at 3:10
  • I'm going to download and install xcode to see if that fixes the issue. Sorry for the poor formatting. Commented Aug 28, 2012 at 5:03
  • 1
    I have solved the situation by installing XCode and the Command Line Tools. This was apparently the correct forum, as it was a Python issue and not a LaTeX issue. Commented Aug 28, 2012 at 15:18
  • 2
    @jason.t.stein You should add that as an answer and not a comment. Comments are meant to clarify the post, not to answer it. Commented Aug 29, 2012 at 13:32

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.