The Error “vscode python jedi client: couldn’t create connection to server”, is an error that is invoked when you are working on python in vscode and are trying to run in jupyter notebook.
Given below is the snippet of the error you might get:

vscode python jedi client: couldn't create connection to server
I would like to share with you the steps I took to fix the “vscode python jedi client: couldn’t create connection to server”
Why “vscode python jedi client: couldn’t create connection to server” Error is Seen?
The error, “vscode python jedi client: couldn’t create connection to server” is seen because of the now-standard language server is Pylance, you can read more about it here.
As a result, you will have to adjust your settings. json to fix the problem.
The detailed solution to fix the error “vscode python jedi client: couldn’t create connection to server”, is given below:
How to fix “vscode python jedi client: couldn’t create connection to server” Error?
To fix the error “vscode python jedi client: couldn’t create connection to server” you will have to change the settings “python.languageServer”: “Pylance” or “python.languageServer”: “Default” into your settings.json file and it would fix the problem.
Also you will have to make pylance your default language server. If you don’t already have the Pylance extension, you might need to install it.
To fix the error, “vscode python jedi client: couldn’t create connection to server”, you will have to follow one the steps mentioned below:
First, you will have to adjust your settings. json to fix the problem. You will have to make pylance your default language server. If you don’t already have the Pylance extension, you might need to install it.
Follow the below mentioned code to change you language server, make sure to have installed the pylance extension before you do so:
Change in your settings.json as:
"python.languageServer": "Pylance"
OR
"python.languageServer": "Default"
This should fix the error “vscode python jedi client: couldn’t create connection to server”.
Conclusion
To fix the error, “vscode python jedi client: couldn’t create connection to server”you will have to adjust your settings.json to fix the problem.
You will have to make pylance your default language server. If you don’t already have the Pylance extension, you might need to install it.