Replies: 1 comment 1 reply
-
You shouldn't need to specify your python environment in When you say "having trouble resolving installed packages", what symptoms are you seeing? With the |
Beta Was this translation helpful? Give feedback.
-
I'm using pyright as a LSP server in Emacs (via the lsp-mode package), and pyright is having trouble resolving pip3 installed packages like numpy or matplotlib. I checked numpy's installation location and it's under
/home/ianpan/.local/lib/python3.8/site-packages
, and when I ranpyright --verbose
I do see this exact same path being found both under "Search paths found for configured python interpreter" and "Received 5 paths from interpreter".In this case, is the
pyrightconfig.json
file still needed? If it is, what exactly should I put in the configuration file? All I need is for pyright to recognize my pip3 packages that installed "globally". Thanks in advance!Beta Was this translation helpful? Give feedback.
All reactions