maralla / completor.vim

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

python autocomplete not working with jedi 0.10.2 and python3.6.2? #140

Open toplinuxsir opened 6 years ago

toplinuxsir commented 6 years ago

python autocomplete not working with jedi 0.10.2 and python3.6.2

maralla commented 6 years ago

I also have a jedi(0.10.2)/python(3.6.2) environment but it works very well: com

toplinuxsir commented 6 years ago

Thanks ,I changed let g:completor_python_binary = '/home/test/python-envs/devpy36/bin/python' I put the line in $HOME/.SpaceVim.d/init.vim , But It dose not work! I use spacevim Thanks !

maralla commented 6 years ago

I installed SpaceVim and installed jedi to the specified python version then added the following config to ~/.SpaceVim.d/init.vim:

let g:spacevim_custom_plugins = [['maralla/completor.vim']]
let g:spacevim_disabled_plugins = ['neocomplcache.vim']

let g:completor_python_binary = '/home/maralla/py3env/bin/python'

The completion works very well.

Please run the following command to ensure jedi is installed properly:

$ /home/test/python-envs/devpy36/bin/python -c "import jedi;print(jedi.__version__)"