lspcontainers.nvim icon indicating copy to clipboard operation
lspcontainers.nvim copied to clipboard

pyright with pyenv

Open stuart-warren opened this issue 2 years ago • 2 comments

I've been struggling to get pyright to play nice with pyenv-virtualenv

I had to do something like https://github.com/lspcontainers/lspcontainers.nvim/compare/main...stuart-warren:pyenv and also use pyenv-pyright to configure something in pyright correctly

perhaps there is a nicer way to do so?

ref: https://github.com/neovim/nvim-lspconfig/issues/717

stuart-warren avatar Apr 11 '22 14:04 stuart-warren

I see there is existing discussion in https://github.com/lspcontainers/dockerfiles/pull/46 regarding other python language servers and various tools for managing virtual environments

stuart-warren avatar Apr 11 '22 14:04 stuart-warren

Yup - we've discovered that because of the requirements on how packages are injected into the container we've had some issues. I know that it's currently being investigated and I'm going to take another try at it in the next week.

erikreinert avatar Apr 11 '22 20:04 erikreinert

There is currently a proposal issue open for fixing a lot of problems similar to this. i am going to include this PR in that issue for further tracking.

Thank you for the help!

erikreinert avatar Nov 07 '22 20:11 erikreinert