-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Jedi couldn’t connect to Python Language Server #22610
Comments
@CoderDJJD The error seems to be Also, you can set language server to |
I'm using the interpreter ~\AppData\Local\Programs\Python\Python312\python.exe
and still have the problem occasionally and I'm using Pylance using python.languagServer setting.
…________________________________
From: Karthik Nadig ***@***.***>
Sent: Wednesday, December 13, 2023 11:51 AM
To: microsoft/vscode-python ***@***.***>
Cc: CoderDJJD ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/vscode-python] Python Jedi couldn’t connect to Python Language Server (Issue #22610)
@CoderDJJD The error seems to be EACCESS which usually means you don't have permissions to run from that executable or that file. Can you please provide details on which path you have used to select p
@CoderDJJD<https://github.com/CoderDJJD> The error seems to be EACCESS which usually means you don't have permissions to run from that executable or that file. Can you please provide details on which path you have used to select python?
Also, you can set language server to Pylance using python.languagServer setting.
|
If you switch to using pylance you should not see the error with Jedi. Make sure you use pylance as the language server and it should work as expected. Please share exact error from Output > Python Language server if you see something failing again. |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off. Happy Coding! |
Type: Bug
I'm running VS code version 1.85.0 on Windows 11. You can see my report at this website: https://discuss.python.org/t/python-jedi-wont-connect-to-python-language-server/40512?u=coderdjjd
I also found a much needed error log:
Extension version: 2023.22.0
VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T20:48:09.019Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
Tasks
Tasks
jedi-language-server
for Python 3.11 support #20117The text was updated successfully, but these errors were encountered: