I am 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 will copy this file: http://vim.cybermirror.org/runtime/autoload/python3complete.vim to the ~/vim73/share/vim/vim73/autoload/ and in this file: ./share/vim/vim73/ftplugin/python.vim I am changing
setlocal omnifunc=pythoncomplete
to
setlocal omnifunc=python3complete
But when I press <cx, co> , I get an error message:
Error: Required vim compiled with +python3 E117: Unknown function: python3complete
and if I write :python3 , I get
E319: Sorry, the command is not available in this version
source share