ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.91k stars 458 forks source link

how to config outer pylsp extra_paths for other python intercepter #1137

Closed xx-zhang closed 8 months ago

xx-zhang commented 9 months ago

Version confirmation

Following prerequisites

Not a user config issue

Neovim version

Nvim 0.9.5

Operating system/version

ArchL:inxu latest

Terminal name/version

windows Terminal

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

HTTPS (use_ssh = false)

Affected language servers

pylsp

How to reproduce the issue

how to config outer pylsp extra_paths for python3.6 site-packeges ;

i have trid like this and no use. what i wanted is using the conda-path /soft/miniconda3 not the venv

imagea

Expected behavior

i can use the pkgs from the extra_path i have set

Support info

python:3.11.5 all the latest, have updated the nvimdots as latest.

Logs

No response

Additional information

No response

ayamir commented 8 months ago

Do you want to use self-installed pylsp? It seems related to #1113 .

https://github.com/ayamir/nvimdots/issues/1113#issuecomment-1868824151

You should activate the corresponding python venv first then edit the python file.

ayamir commented 8 months ago

close due to inactivity.