deoplete-jedi: Autocomplete doesn't list functions/modules/variables from project virtual environment

Problem summary

When autocomplete is triggered, it list all functions/modules/variables for python path but not getting autocomplete from virtual environment. I do have python environment configured for neovim, jedi-vim, deoplete, and deoplete-jedi installed. It work fine but not listing virtual environment modules, functions nor variables.

Expected

To get options listed from project virtual environment

Environment Information

  • OS: Windows 10
  • Neovim version: v0.2.1 (last one to date)

Provide a minimal init.vim with less than 50 lines (required)

" Use the following as a template.
set runtimepath+=~/path/to/deoplete.nvim/
set runtimepath+=~/path/to/deoplete-jedi/
let g:deoplete#enable_at_startup = 1
call deoplete#custom#set('jedi', 'debug_enabled', 1)
call deoplete#enable_logging('DEBUG', '/tmp/deoplete.log')

Steps to reproduce the issue after starting Neovim (required)

After you create an virtualenv on a folder, create a python file and try to get imports

  1. i import <packages from virtualenvironment>

Upload the logfile(s)

logfile didnt show any errors.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 26

Most upvoted comments

@ysolis yes that worked. I think that should be automatically enabled.