completor.vim icon indicating copy to clipboard operation
completor.vim copied to clipboard

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

Open toplinuxsir opened this issue 8 years ago • 3 comments

python autocomplete not working with jedi 0.10.2 and python3.6.2

toplinuxsir avatar Sep 13 '17 05:09 toplinuxsir

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

maralla avatar Sep 15 '17 05:09 maralla

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 !

toplinuxsir avatar Sep 15 '17 05:09 toplinuxsir

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__)"

maralla avatar Sep 15 '17 09:09 maralla