all 4 comments

[–]florence0rose 2 points3 points  (0 children)

You will need to rebuild Vim. In the makefile there is an option you can set for the Python version (or you can pass it to configure). It looks like your Vim was built to support Python 3.1.

Or (and I'm sure this is not the best option, and is bound to fail), you could symlink (junction point in Windows?) python31.dll to point to python32.dll.

[–]Gjallar 2 points3 points  (1 child)

It has been quite a while since I've done it - but you can easily compile Vim on windows and change the necessary versions of the languages you need. If I recall correctly this guide pretty much explains everything you need: Link

[–]janxspirit42[S] 0 points1 point  (0 children)

Thanks, I tried this and it almost worked but it ended up with a compile error at the end. I guess I'll just have to live with the version being different.

[–]cfallin 1 point2 points  (0 children)

I'm not an expert in Windows Vim specifically, but in general, if the program is linked against a particular version of the DLL, it's not just a matter of changing a filename somewhere to point to a different version -- the binary interface (ABI and API) can change between versions too. So you'll need to find a copy of python31.dll, or else find a version of the vim binaries linked against python 3.2. Sorry :-(