Skip to content

Intellicode for Python: 'python.intellicode.loadLanguageServerExtension' not found #509

Open
@GrigoriOH

Description

@GrigoriOH

Product and Version [VS/VSCode]: VSCodium 1.83.0
OS Version [macOS/Windows]: Pop!_OS 22.04 LTS
IntelliCode Extension Version: 1.2.30
Target Platform or Language [e.g. Node.js]: Python3

Steps to Reproduce / Scenario:

  1. Installed intellicode alongside with Pylance (v2023.10.10)
  2. Open *.py file
  3. Error: "Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details."

Log output:

Language server is set to Pylance.
Acquiring model
vs-intellicode-python was passed a model: {}.
Acquiring model 'intellisense-members-lstm-pylance' for python
Querying IntelliCode service for available models.
Cached model is up to date.
Activating Python extension
Language server extension command failed. Exception: Error: command 'python.intellicode.loadLanguageServerExtension' not found
    at w._tryExecuteCommand (vscode-file://vscode-app/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:1534:16057)
    at w.executeCommand (vscode-file://vscode-app/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:1534:15939)
Error while activating Python: {}

Some search showed the issue #296, but downgrading to 2021.5.926500501 of the Python extension might not be sensible. Further search lead to https://forum.manjaro.org/t/vscode-intellicode-language-server-error-with-python-with-fix/146447 where downgrading Pylance to v2023.6.40 did the trick.

Testing all Pylance versions beginning with the current one (v2023.10.10) down to v2023.6.40 I was able to reproduce the error with every version except for v2023.6.40.

Not sure if this issue is properly placed here, or belongs to the Pylance site, also considering I got a fix to use intellicode for my use case, but for further bug fixes and as a resource for persons with the same issue, this might help.

Let me know if there is more data / logs needed to find the cause here.

Activity

rob4226

rob4226 commented on Oct 12, 2023

@rob4226

I am getting the same error messages on Windows 10 when opening a .py file.

Version: 1.83.0
Release: 23283
Commit: 623395426cc947eec9f40b93b17b0ed45d923b66
Date: 2023-10-10T13:43:30.838Z (1 day ago)
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) VSCodium/1.83.0 Chrome/114.0.5735.289 Electron/25.8.4 Safari/537.36

IntelliCode v1.2.30
Python v2023.18.0
Pylance v2023.10.10

github-actions

github-actions commented on Nov 4, 2023

@github-actions

Automatically marked uncategorized issue as product feedback

ahmedelq

ahmedelq commented on Dec 8, 2023

@ahmedelq

Had the same issue. I had re-installed both extensions but same error persisted.

I rolled-back to Microsoft Python extension version v2022.14.0 and its working.

Anton-V-K

Anton-V-K commented on Jan 2, 2024

@Anton-V-K

Downgrading Python extension (ms-python) from v2023.20.0 to v2023.4.1 solved the problem in VSCodium 1.82.0 with Python 3.11.7 on Windows 10 21H1.
Other newer versions of the extension refuse to load properly (because of incompatibility?).

advait404

advait404 commented on Mar 7, 2024

@advait404

I am having the same issue. using latest versions of python, pylance, intellisense and other extenions gives
"Error: command 'python.intellicode.loadLanguageServerExtension' not found"

however, downgrading to pylance varsion 2023.6.40 does not give this issue.

heamaral

heamaral commented on May 8, 2024

@heamaral

Having the same issue here, It seems the issue is present to any version after 2023.6.40.

GustavoWidman

GustavoWidman commented on Jul 1, 2024

@GustavoWidman

Same issue using code from the arch repo (code-oss). Downgrading Pylance to 2023.6.40 seems to work fine but i'd still rather not run a 1y old version of an extension.

kuolemaaa

kuolemaaa commented on Jul 7, 2024

@kuolemaaa

It is INCREDIBLE that after a whole year this is still an issue

Manjaro Linux
code 1.90.0-1
pylance 2024.6.1
intellicode 1.3.1

ghost

ghost commented on Jul 9, 2024

@ghost

I met the same problem here. The version of Pylance is v2024.7.1, and IntelliCode v1.3.1. Sorry that I cannot show the log here because I was using offline in my company.

21020620

21020620 commented on Jul 14, 2024

@21020620

Problem persists.
Downgrading Pylance to v2023.6.40 did the trick though.
Just comment to let the devs know the problem still hasn't been fixed yet

8 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rkfg@ahmedelq@rob4226@Anton-V-K@vivlimmsft

        Issue actions

          Intellicode for Python: 'python.intellicode.loadLanguageServerExtension' not found · Issue #509 · MicrosoftDocs/intellicode