We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I have one instance of pylsp and several virtual envs and just select the env that I would like to work with? Is there any configuration for this?
Or do I need to install pylsp on each venv?
The text was updated successfully, but these errors were encountered:
Is there any configuration for this?
Yes, there is. All our configurations options are documented here:
https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md
The one you're looking for is pylsp.plugins.jedi.environment. You need to set your Python environment executable (i.e. /path/to/myenv/python) on it.
pylsp.plugins.jedi.environment
/path/to/myenv/python
Sorry, something went wrong.
No branches or pull requests
Can I have one instance of pylsp and several virtual envs and just select the env that I would like to work with? Is there any configuration for this?
Or do I need to install pylsp on each venv?
The text was updated successfully, but these errors were encountered: