The page on vim.org says that you need to have Python 2.4. On my Windows box, I have Visual Studio 2008 and GVIM 7.2, which has been compiled with Python 2.4 support. But, the Python interpreter I am using is Python 2.5, which I keep compatible with the Python interpreter on a production machine. As a result, I had no chance to uninstall Python 2.5 for Python 2.4 and no intention to uninstall GVIM 7.2 for GVIM 7.0.
So, I have found Vim binaries compiled for Python 2.5 and Python 2.6. I have downloaded the zip file and overwritten the executables in my Vim directory. If I type
:version
in Vim, I get the following screens:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqqFo7adz3HAu5dAMBAtEL2iIcQIZVry_gtKgqvzg__XuV4TPWs-qJPgKknMG4R7T9TaiGIljPsMkt2gJQsXnxZ7DQp2D_Ju_10FgrFKRjmFdrHdDpADoN9-yTGvIzt9DcR7qVZhxdhDI/s320/vim_version_1.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5RrefeSD6RBsMh2CbAyqh6KUf2ym8c2xK0rro1NGmMEWpq2y6UaG0ay75y-D1cNCg9NVNUS61Db13HFvs4_O0QpFQ98Uy672Bk3V3Yrgis-XBVzEn2PXu-lrG4AdNYikl1PPxkAupeCA/s320/vim_version_2.png)
Which shows that I have finally a Python 2.5 compatible Vim.
By the way, do not forget to install Python Extensions for Windows if you did not installed yet.
If we make a summary
- We have Visual Studio 2008
- We have Python 2.5
- We have Python Extensions for Windows
- We have GVIM 7.2
- We have Python 2.5 binaries for GVIM
- We have the visual_studio.vim
And finally, I have been able to see and use the following menu:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv09Al6EB65hyphenhyphen2TmfA4L2B_WEedvwWYE6cFw5YuwODL1PgoaGrhE9VSnvB0whQVXnKEotamvP20NNFve-1CneA1x2zeiLyBF2pxGpHbYUOri48P6vyTdNSXdU-BbeF96KwR3LHFwvnnq4/s320/visual_studio_menu.png)