Are you sure that you installed the same version of 32 bit python that Vim was
looking for? I see no reason that this wouldn't have fixed your problem,
unless you somehow had a gvim exe built without python support. Anyway, I had
precisely this problem, and the obvious thing to me was that my python dll was
x64, whilst I had 32 bit vim. The solution for me was simply to build a 64
bit version of Vim. I much prefer upgrading Vim to downgrading Python. The
arguments I sent to the make file were:
nmake -f Make_mvc.mak GUI=yes CPU=AMD64 PYTHON=C:\Python27 DYNAMIC_PYTHON=yes PYTHON_VER=27
I then replaced my original 32 bit gvim.exe with the 64 bit one I just built.
Everything worked perfectly. If you are worried about the hassle of the
build, don't be- it was very straightforward using visual studio 2010's
compilers, and running make from the appropriate visual studio command prompt
(x64 cross tools). I can send further instructions if needed.
For all those having the same problem: installing "cream" fixes it: http://cream.sourceforge.net Yes - this question will probably get closed - but the fact is that there is still no solution to this anywhere on the web.
– Andriy Drozdyuk – 2011-08-11T21:00:51.417Answering your own question is good, but post it as an answer, not a comment, then accept it after two days. – None – 2011-08-11T21:03:25.097
compile it with python support – Eric Fortis – 2011-08-11T21:52:10.867
Hm... I am not compiling it, but rather downloading an installer. – Andriy Drozdyuk – 2011-08-11T22:52:36.310
@drozzy: there are installers here: https://bintray.com/veegee/generic/vim_x64. Had the same problem as you and didn't want to build Vim on my own. Simple!
– eckes – 2013-09-26T13:34:34.107Official x64 version is kept here nowadays: http://code.google.com/p/vim-win3264/
– Antony Hatchkins – 2013-11-15T18:26:01.723