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

[BUG] [based]pyright doesn't detect current python from devShell (but yes from venv) #2631

Open
1 task done
jalil-salame opened this issue Dec 10, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@jalil-salame
Copy link

Field Description
Plugin pyright
Plugin basedpyright
Nixpkgs unstable/24.11 mix
Home Manager 24.11
  • I have read the FAQ and my bug is not listed there.

Description

Minimal, Reproducible Example (MRE)

programs.nixvim = {
  plugins.lsp.pyright.enable = true; # or based pyright
}

Installing a dependency (e.g. numpy) through a devShell still triggers a missing import error in pyright. Activating a venv fixes this.

My guess is that this is an internal issue with pyright, but I am too tired to debug it rn.

@jalil-salame jalil-salame added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant