Closed bo5o closed 5 years ago
I was able to fix the issue.
Although in the above debug info the jedi version is up-to-date (v0.15.1), there was another jedi installation in my system python (/usr/bin/python3
), which was outdated (v0.12). I don't know why, but when I updated this version, everything just worked.
Issue
Completions are not working for packages I installed in a virtual environment that was created with a python installation managed by pyenv.
Steps to reproduce
python -m venv .venv
)..venv/bin/python -m pip install requests
).import ...
(no special syntax).Expected behavior
I can see the packages of my virtual environment in the completions list. I can also complete modules, methods etc. from installed packages.
Completions work fine with plain jedi-vim (no ncm2).
Actual behavior
I can not see completions of packages of the activated environment. Instead I can only see completions of my system python, which is a different version and not even the python executable I used when creating the virtual environment.
Minimal vimrc
Output of “:verbose JediDebugInfo”
Output of
:checkhealth provider