'vscode python jedi client: couldn't create connection to server

I keep getting this message when I run Jupyter Notebook.

  • comment :

1

  • output:

2



Solution 1:[1]

Check whether the following code is specified correctly in your setting.json:

"python.languageServer":"Jedi"

Solution 2:[2]

Pylance is now the default language server (see here). As such, I resolved the issue by changing my settings.json to:

"python.languageServer": "Pylance"

You may need to install the Pylance extension, if you don't already have it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 MingJie-MSFT
Solution 2 Matt