python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.9k stars 196 forks source link

Pylsp not loading active environment #571

Closed moonlitgrace closed 3 months ago

moonlitgrace commented 3 months ago

I've pylsp and pylint plugin configured on doomemacs. and envrc installed. .envrc

export VIRTUAL_ENV=.venv
layout python

after sync and lsp-workspace-restart: I stiil see this pylint error: [import-error] Unable to import <package>

Is this because pylsp is not recognizing active environment, or? Im really confused.....

moonlitgrace commented 3 months ago

FIXED

There was a conflict b/w pylsp pyls