Apart from compiling GVim, is there anywhere where one开发者_StackOverflow中文版 can downlod the binaries with +python support already included?
Edit :: Apologies for forgotting again. I'm looking for Windows binaries.
Okey, problem solved.
On www.vim.org when downloading Vim one must take the OLE version, along with the runtimefiles archive. Upon unzipping try for example
:python print('Whatcha doing Doc?')
and see what error it will give. You should see something along the lines of ... yadda yadda python27.dll. There's your clue. That version was compiled with Python 2.7. in mind, so go to www.python.org and download it. Upon installing repeat the test print in Vim - it should work now. I tried it with Vim 7.3 (current) and Python 2.7.2. (current) but expect it should similarly for older versions as well. Just be sure to pair them up.
You can download the vim without cream. They usually compile
frequently with the latest patches.
The problem for me is that they compile
against python2.6 and I am more interested in using python2.7.
Note that the installer does not actually ship with python, you have to install python separetely.
精彩评论