neovim / neovim.github.io

Neovim website
https://neovim.io
MIT License
415 stars 100 forks source link

Activating virtualenv by default #327

Closed karambaq closed 1 year ago

karambaq commented 1 year ago

I was wondering why pyright doesn't know where is my imports at even tho I have venv in the same folder and point in on it.

And then I tried to activate venv before opening neovim, in this case it works fine.

I'm wondering how can I make it default behaviour? And here someone says that it's actual should be a default behaviour so I'm wondering what's wrong with by installation. https://www.reddit.com/r/neovim/comments/ga0s7w/use_python_venv_with_neovim/

image

Checkhealth on both sides:

image
clason commented 1 year ago

This is not an issue about the website. For questions about Neovim, ask on Discourse or Matrix.