Vim Editor->clang_complete: no python support available -


case: testing clang_complete gvim 7.3

i installed mingw, followed tutorial here download , compile clang. compiled around hour, make install. clang worked. love error annotation. it's amazing.

now comes case of clang_complete. installed it. using pathogen, clang_complete fron github comes in bundle folder inside vimfiles.

i opened vim editor , gave command :scriptnames. shows clang_complete plugin. :version shows has python entry, vim built python support. test system has python installed.

but whenever issue :save foo1.cpp , vim give error,

error detected while processing function 14_clangcompleteinit..14_initclangcompletepython: line2 clang_complete:no python support available line 3 cannot use clang library.

simply puzzled.

*i have python installed on system. tried using libclang library path clang_complete mentioned in question on clang_complete here, no avail.*

thank you.

vim needs compiled python support, i.e. +python when doing :version. -python means it's not installed. taken clang_complete @ github:

you need vim 7.3 or higher, compiled python support , ideally, conceal feature.

you said had enabled, doesn't it. taken clang_complete.vim.
place error message defined , triggers on !has('python'). in other words doesn't seem clang_complete issue, rather install missing or having problems python support.

function! s:initclangcompletepython()   if !has('python')     echoe 'clang_complete: no python support available.'     echoe 'cannot use clang library'     echoe 'compile vim python support use libclang'     return 0   endif   [..] 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -