0

I am using neovim v0.3.2-953 for python development with the following plugins.

Plug 'Shougo/deoplete.nvim',
Plug 'zchee/deoplete-jedi',
Plug 'davidhalter/jedi-vim'

The deoplete auto completion simply does not show any suggestions for flask related libraries. I am using this setup in a conda virtual environment. Infact deoplete is not working for any library in my virtual env and it is still showing completion for modules installed in the system python only.

I tested by installing flask into the system python and then auto completion was working fine, so i assume this problem to be with nvim inside the virtual environment only. So inside the nvim i tested the python binary it was using and it was indeed from my virtual env only.

So can anyone please guide me if i am missing something here.

  • It seems like jedi/deoplete may not be picking up your virtualenv python, but i would expect them to do so. Would suggest digging through their docs/github repos for similar issues. – D. Ben Knoble Dec 16 '18 at 6:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.