views:

96

answers:

0

Im trying to get code completion for python in vim 7.3. When I install vim I use this configuration:

./configure --prefix=${HOME}/vim73 --enable-python3interp=yes --with-python3-config-dir=/home/etobkru/Python3/lib/python3.1/config 
make && make install

I copy this file: http://vim.cybermirror.org/runtime/autoload/python3complete.vim in to the ~/vim73/share/vim/vim73/autoload/ directory and in this file: ./share/vim/vim73/ftplugin/python.vim I change

setlocal omnifunc=pythoncomplete#Complete 

to

setlocal omnifunc=python3complete#Complete.

But when I press <c-x, c-o> I get an error message:

Error: Required vim compiled with +python3
E117: Unknown function: python3complete#Complete

and if I write :python3 I get

E319: Sorry, the command is not available in this version