Description
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:
- Installed intellicode alongside with Pylance (v2023.10.10)
- Open *.py file
- 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 commentedon Oct 12, 2023
I am getting the same error messages on Windows 10 when opening a .py file.
IntelliCode
v1.2.30
Python
v2023.18.0
Pylance
v2023.10.10
github-actions commentedon Nov 4, 2023
Automatically marked uncategorized issue as product feedback
ahmedelq commentedon Dec 8, 2023
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 commentedon Jan 2, 2024
Downgrading Python extension (
ms-python
) fromv2023.20.0
tov2023.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 commentedon Mar 7, 2024
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 commentedon May 8, 2024
Having the same issue here, It seems the issue is present to any version after 2023.6.40.
GustavoWidman commentedon Jul 1, 2024
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 commentedon Jul 7, 2024
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 commentedon Jul 9, 2024
I met the same problem here. The version of
Pylance
isv2024.7.1
, andIntelliCode
v1.3.1
. Sorry that I cannot show the log here because I was using offline in my company.21020620 commentedon Jul 14, 2024
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