Can't start py language server.
See original GitHub issueEnvironment data
- VS Code version: 1.25.1
- Extension version: 2018.7.1
- OS and version: Fedora 28
- Python version (& distribution if applicable, e.g. Anaconda): Python3.6
- Type of virtual environment used: N/A
Actual behavior
Python language server won’t start.
Logs
Output from Output
:
Starting Microsoft Python language server.
[Error - 4:31:39 PM] Starting client failed
Error: spawn EACCES
at exports._errnoException (util.js:1050:11)
at ChildProcess.spawn (internal/child_process.js:319:11)
at Object.exports.spawn (child_process.js:390:9)
at _getServerWorkingDir.then.serverWorkingDir (/home/void/.vscode/extensions/ms-python.python-2018.7.1/node_modules/vscode-languageclient/lib/main.js:346:40)
at <anonymous>
Output from Console
under the Developer Tools
panel:
[ms-python.python]spawn EACCES
e.$onExtensionRuntimeError | @ | mainThreadExtensionService.ts:43
---
Error: spawn EACCES
at exports._errnoException (util.js:1050:11)
at ChildProcess.spawn (internal/child_process.js:319:11)
at Object.exports.spawn (child_process.js:390:9)
at _getServerWorkingDir.then.serverWorkingDir (/home/void/.vscode/extensions/ms-python.python-2018.7.1/node_modules/vscode-languageclient/lib/main.js:346:40)
at <anonymous>
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Unable to start the Python language server · Issue #134 - GitHub
I have the same issue on my Mac. I used the command line instruction to make sure that the python-language-server is up to...
Read more >Unable to start the Python language server - Stack Overflow
WARNING: The script pyls is installed in '/Users/baner75418/Library/Python/2.7/bin' which is not on PATH. Consider adding this directory to PATH ...
Read more >python-language-server wont start : r/spacemacs - Reddit
The solution was to pip uninstall pyls and python-language-server and then just reinstall python-language-server. Now LSP starts correctly.
Read more >Language Server Extension Guide - Visual Studio Code
From code editors' perspective, they cannot expect any uniform API from language ... Explain how to run, debug, log, and test the Language...
Read more >Common Illnesses — Spyder 5 documentation
... Spyder was unable to launch a new Python interpreter in the current working ... Spyder uses the Python Language Server (PyLS), an...
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
Ok, it definitely was a corrupted download. Thanks a lot for your help!! (next time i’ll try that first, maybe)
I’m running a 64bit Fedora. Yeah maybe it could be a corrupted download. I’ll try to reinstall the extension after deleting the extension folder.