tags:

views:

25

answers:

0

I am using XP SP3 and have installed vim 7.3. I was following a how-to I found here in a previous thread on configuring vim for a python editor.

http://www.sontek.net/post/Python-with-a-modular-IDE-%28Vim%29.aspx

I am getting an error when starting gvim that it cannot find python27.dll. This is correct I don't have python 2.7 installed I have python2.6 from activestate and wxpython.

This is the code that causes the error.

python << EOF
import os
import sys
import vim
for p in sys.path:
    if os.path.isdir(p):
        vim.command(r"set path+=%s" % (p.replace(" ", r"\ ")))
EOF

I have checked in my sys path and found that python26 is there but I cannot see python27.

Second error is ctags. I have installed ctags, started vim and used the :helptags . command and then attempted to link the tags up. I must not be doing it correctly because I have no tags.

C:\Program Files\ctags>ctags -R -f ~/.vim/tags/python.ctags C:/python2.6/
ctags: cannot open tag file : No such file or directory