Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

user search paths and interpreter search paths are different for auto-completions... #107

Open
@arunkhattri

Description

@arunkhattri
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 ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions