使用vim,当我尝试使用omnicomplete for python时,我收到错误
Required vim compiled with +python.
当我尝试
时:python print 'hello'
我得到了
E370: Could not load library python26.dll
奇怪的是我无论如何都在使用python 2.7,那么如何更改python vim应该使用的内容,还是我必须安装python 2.6才能使用此功能?
答案 0 :(得分:4)
你必须安装相同版本的python才能编译vim。这意味着您需要安装2.6或重新编译vim对2.7(或找到已经存在的二进制文件)。