maralla / completor.vim

Async completion framework made ease.
MIT License
1.32k stars 62 forks source link

error in completing python #111

Closed junhyeokahn closed 7 years ago

junhyeokahn commented 7 years ago

Hi, First of all, I appreciate this great plugin. I could do c family files completion. Then I installed jedi and specify the path in anaconda and try some, variable. Once I type dot(.) it generate,

screen shot 2017-06-03 at 6 18 57 pm

I would appreciate if you could help me

junhyeokahn commented 7 years ago

Addition to that, I am pretty sure it is related to version problem. Because when I run python in command line, I could do

import jedi 

In my command line I am using anaconda python. However, in vim, when I do

:py import jedi

it return there is no module like that.

vimalk78 commented 7 years ago

@junhyeokahn did it work for you in vim8 ? i am trying, sometimes completion for numpy installed in anaconda2 works, most of the times it doesnt

junhyeokahn commented 7 years ago

@vimalk78 Hi, Yes it works for me. If you use virtual environment, you would set in your configuration file as below.

let g:completor_python_binary='python'