question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't start py language server.

See original GitHub issue

Environment 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:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
j4ckr3dcommented, Jul 26, 2018

Ok, it definitely was a corrupted download. Thanks a lot for your help!! (next time i’ll try that first, maybe)

1reaction
j4ckr3dcommented, Jul 26, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found