void icon indicating copy to clipboard operation
void copied to clipboard

[App] Python Extension Activation Fails: 'python.intellicode.loadLanguageServerExtension' command not found

Open AtharvRG opened this issue 7 months ago • 1 comments

Help: About

VSCode Version: 1.99.30038 (system setup) Void Version: 1.4.3 Commit: bf062146c93fc98f0d19cad53528d012a652ffce Date: 2025-06-06T08:49:49.945Z Electron: 34.3.2 ElectronBuildId: undefined Chromium: 132.0.6834.210 Node.js: 20.18.3 V8: 13.2.152.41-electron.0 OS: Windows_NT x64 10.0.26100

Description

When activating the Python extension in VS Code, I encounter an error indicating that the command python.intellicode.loadLanguageServerExtension is not found. This seems to prevent the full activation or proper functioning of the Python extension, potentially related to VS Intellicode integration.

Acquiring model Acquiring model 'intellisense-members-lstm-pylance' for python Acquiring model 'intellisense-members-lstm-pylance' for python vs-intellicode-python was passed a model: {}. Found bundled model for python Activating Python extension Language server extension command failed. Exception: Error: command 'python.intellicode.loadLanguageServerExtension' not found at QEt._tryExecuteCommand (vscode-file://vscode-app/c:/Program%20Files/Void/resources/app/out/vs/workbench/workbench.desktop.main.js:12280:1985) at QEt.executeCommand (vscode-file://vscode-app/c:/Program%20Files/Void/resources/app/out/vs/workbench/workbench.desktop.main.js:12280:1883) Error while activating Python: {}

Steps to Reproduce:

Open VS Code. Observe the output in the "Output" panel for "Python" or "VS Intellicode". Expected behavior: The Python extension should activate without errors, and Intellicode features for Python should be available.

Actual behavior: The error message "command 'python.intellicode.loadLanguageServerExtension' not found" appears in the output, and there might be issues with Python language features or Intellicode suggestions.

AtharvRG avatar Jun 08 '25 05:06 AtharvRG

Even tried Reinstalling Void completely...No progress

AtharvRG avatar Jun 08 '25 05:06 AtharvRG

Can you try with Pyright instead of Pylance?

#540

andrewpareles avatar Jun 29 '25 22:06 andrewpareles

Will try it...

AtharvRG avatar Jul 04 '25 04:07 AtharvRG

Pyright has some smaller issues like not recognising other packages (which are installed)....

AtharvRG avatar Jul 04 '25 05:07 AtharvRG

Hello, It look like the issue is old, the issue on the intellicode github is still open: https://github.com/MicrosoftDocs/intellicode/issues/509 I have found an way to keep using the most important function of Pylance.

First go to settings and type python.languageServer once this is done select Jedi for Python: Language Server

Image

Then uninstall Pylance extension and install Pyright instead and restart Void.

mathys-lopinto avatar Jul 13 '25 19:07 mathys-lopinto

Yes, this seems to work!

andrewpareles avatar Jul 14 '25 01:07 andrewpareles