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
Language server is not starting #4640
Comments
Thanks for the issue. What is your version of the python extension? This might be caused by an older python extension trying to work with a newer pylance extension. |
For this:
Can you be more specific? What license text shows up? |
I experienced the same issues, here's my environment:
And by license text OP is referring to this:
|
I believe Pylance doesn't work with the OSS version of VS code. The license prevents this: You might have to switch to using Pyright instead. |
For posterity, I am also seeing this issue on Arch Linux. |
Switching Color Theme to Dark+ may help |
For anyone, who initially installed Code OSS like me (not knowing the differences) Pylyzer is another language server for Python which is usable with Code OSS (except it's not so usable with virtual environments maybe). |
The issue
The language server does not seem to start on any of the reported versions (2023.7.10+). IntelliSense does not show up, hovering over identifiers does not bring up any pop up.
Workaround
Downgrade Pylance to 2023.6.40.
Environment data
Logs
Python Language Server
On version 2023.6.40 and lower, a lot of logs appear in this output. For the new versions, only the license text shows up.
Python
Full logs:
VS IntelliCode
IntelliCode, unlike the Python extension, detects and reports the problem. First, a pop up appears with the following message:
The logs also contain an error, but may not be really helpful in solving the problem:
The text was updated successfully, but these errors were encountered: