Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I installed vim-latex using pathogen following the very clear instructions proposed in: How to install vim-latex?

However, when I open a .tex file using MacVim, I get the following error message:

Error detected while processing ~/.vim/bundle/vim-latex-1.8.23-20130116.788-git2ef9956/ftplugin/latex-suite/texviewer.vim:
line  728:
    Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/valeria/.vim/bundle/vim-latex-1.8.23-20130116.788-git2ef9956/ftplugin/latex-suite/outline.py", line 12, in <module>
    import StringIO
ImportError: No module named StringIO
Error detected while processing /Users/valeria/.vim/bundle/vim-latex-1.8.23-20130116.788-git2ef9956/ftplugin/latex-suite/main.vim:
line 1040:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/valeria/.vim/bundle/vim-latex-1.8.23-20130116.788-git2ef9956/ftplugin/latex-suite/pytools.py", line 1, in <module>
import string, vim, re, os, glob
ImportError: No module named string

I don't really know if it helps, but since import StringIO looked like python syntax, I checked on the shell to see if my python had such module and it does.

I am using MacVim on a Mac running Mavericks. Thank you so much!

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.