lsp-python-ms
lsp-python-ms copied to clipboard
user search paths and interpreter search paths are different for auto-completions...
The following clients were selected based on priority: (server-id mspyls, priority 1)
Analysis cache path: /home/arunkhattri/.cache/Microsoft/Python Language Server
Microsoft Python Language Server version 1.0.0.0
Workspace root: /home/arunkhattri/gitlab/datacamp/dataScienceTrack/stats_thinking
GetCurrentSearchPaths /home/arunkhattri/.pyenv/versions/dataScience/bin/python3
Interpreter search paths:
/home/arunkhattri/.pyenv/versions/3.8.2/lib/python3.8
/home/arunkhattri/.pyenv/versions/3.8.2/lib/python3.8/lib-dynload
/home/arunkhattri/.pyenv/versions/dataScience/lib/python3.8/site-packages
User search paths:
Initializing for /home/arunkhattri/.pyenv/versions/dataScience/bin/python3
Above is from initial lines of *lsp-log*
.
I suppose because of this i am not getting completion candidates for numpy, pandas etc....
In inferior python auto-completion is perfect, however in editor story is different...
How can i add site-packages
also in user search path ???
Did you check https://github.com/microsoft/python-language-server/issues/1847?
In the inferior python auto completion is working perfectly for numpy. Issue is somehow it's not looking in site-packages whereas in case of inferior python it's looking in site-packages also...
in vscode autocompletion is perfect....
Please provide more details for trouble shooting.