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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With