Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No completion for non-stdlib packages (in pipenv) #62

Open
themightyoarfish opened this issue Nov 6, 2023 · 2 comments
Open

No completion for non-stdlib packages (in pipenv) #62

themightyoarfish opened this issue Nov 6, 2023 · 2 comments

Comments

@themightyoarfish
Copy link

I must be doing something totally wrong, but after CocInstall coc-jedi and placing this in my init.vim (using dein package manager)

call dein#add('pappasam/coc-jedi', { 'build': 'yarn install --frozen-lockfile && yarn build', 'branch': 'main' })

I get some suggestions for e.g. standard imports

image

However I get nothing for non-standard packages installed via pip inside the current virtualenv, or pipenv.

What steps should I take here to investigate this? Is it related to the python interpreter used by neovim?

This is on macos and the neovim version is

NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3

Are there any diagnostics I can look at to sort this out?

@themightyoarfish
Copy link
Author

I now installed jedi-language-server inside the virtualenv currently activated, and now I do get some suggestions, even though they take a while to show up.

However, this does not work inside pipenv. I'm not sure if there's a special relationship between the virtualenv and my neovim install, but I'm not sure where to look for problems.

@themightyoarfish themightyoarfish changed the title No completion for non-stdlib packages No completion for non-stdlib packages (in pipenv) Nov 6, 2023
@osnieltx
Copy link

Same here, using pyenv I don't get the completions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants