I have Anaconda
(including python3.5.2), VIM
(7.4) and Jedi-VIM
installed on my system. There was also a python
installed on the linux system by default.
The autocompletion is working on base packages, at least. But for packages like numpy
(which was included in Anaconda
) the completion is not working.
By using the following command in VIM
:
:py3 import sys; print(sys.path)
['/usr/lib/python35.zip',
'/usr/lib/python3.5',
'/usr/lib/python3.5/plat-x86_64-linux-gnu',
'/usr/lib/python3.5/lib-dynload',
'/usr/local/lib/python3.5/dist-packages',
'/usr/lib/python3/dist-packages',
'_vim_path_']
This indicates to me that the Anaconda-python
interpreter and the packages are never been used by jedi-vim
.
$which python
/home/user1/anaconda3/bin/python
How can I get jedi-vim to use also the path of anaconda python for getting package autocompletion?