[Question] Virtual environments?
See original GitHub issueHello!
First of all thank you guys for supporting this fork.
I’m using neovim as my main code editor and right now I’m trying to migrate from coc.nvim to native neovim LSP client implementation(which is still in development btw).
So, I don’t figured out how to configure this language server to use executables from virtual environment instead of global scope of my system. For example from python venv or pipenv. In coc It was enough just to specify configuration parameter “python.pythonPath” with the full path to the python executable file in the virtual environment and everything works fine.
Tech information above System: Manjaro GNU/Linux LSP Client: neovim v0.5.0-dev
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Python Virtual Environments: A Primer
Virtual environments are a common and effective technique used in Python development. Gaining a better understanding of how they work, why you ...
Read more >Virtual Environments - Science topic
Explore the latest questions and answers in Virtual Environments, and find Virtual Environments experts. Questions (62).
Read more >Guiding Questions for Facilitating Conversations in a Virtual ...
Guiding Questions for Facilitating Conversations in a Virtual Environment- * ... may be particularly challenging in the remote environment?
Read more >Virtual Environments - Problem Solving 101 with Python
Using virtual environments is good standard practice when using Python. A virtual environment is a standalone Python interpreter and isolated installed ...
Read more >Virtual Environments - Problem Solving with Python
Using virtual environments is standard practice in Python. A virtual environment is an isolated installation of Python with associated packages.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @TitaniumHocker so you are installing
python-lsp-serverin every project? To me that looks like a huge overhead. Did anybody find out how to installpython-lsp-serverglobally or in a separate virtualenv and point it to the project currently working on?We provide the option
pylsp.plugins.jedi.environmentto configure your preferred environment, so you need to make use of it (see our configuration description file).Note: This is something that needs to be solved client-side, so please stop posting comments here and open an issue in Neovim or your other editors or IDEs to add support for that.