Reputation: 7466
After installing the python-mode plugin for Vim on my Linux machine, I am getting the following error message on my Windows machine with Cygwin using the same .vim folder:
pymode.vim required vim compiled with +python.
So basically I need to compile Vim by my own with Python support, like explained in the question compiling vim with python support?
This would be quite annoying, does someone know alternatives? After all Windows Vim seems to support Python.
Upvotes: 4
Views: 2098
Reputation: 29553
I am afraid, that is the only way to fix it. Unpleasant, but at least doable with only a few lines:
$ hg clone https://vim.googlecode.com/hg/ vim
$ cd vim/src
$ ./configure \
--enable-multibyte \
--without-x \
--enable-gui=no \
--enable-pythoninterp
$ make
$ make install
$ ln -sf /usr/local/bin/vim.exe /usr/bin/vim
Make sure you have installed libncurses-devel
for Cygwin beforehand.
Upvotes: 17