vscode: Mismatched vscode engine between vscode-pylance and vscode-jupyter

@mlcdf commented on Tue Mar 02 2021

Hello,

I have the following error when I try to install vscode-pylance on my machine (VS Code 1.53.2):

[2021-03-02 12:07:18.629] [renderer1] [error] [“Error: Unable to install extension ‘ms-toolsai.jupyter’ as it is not compatible with VS Code ‘1.53.2’.”," at [redacted]/.vscode-server/bin/622cb03f7e070a9670c94bae1a45d78d7181fbd4/out/vs/server/remoteExtensionHostAgent.js:107:91185"," at runMicrotasks (<anonymous>)“,” at processTicksAndRejections (internal/process/task_queues.js:97:5)"]

I think this is due to this commit : https://github.com/microsoft/vscode-jupyter/pull/4883/files

Workaround: I downgraded to vscode-jupyter to v2021.2.0 and vscode-pylance to v2021.2.3 and it works.


@DonJayamanne commented on Tue Mar 02 2021

Thanks for filing this issue. Did you attempt to install the pylance extension from the marketplace? or did you download the extensions. Do you have the Python extension installed, & did you install that form the marketplace?


@zdog234 commented on Tue Mar 02 2021

I’m having the same issue trying to install from the marketplace (WSL 2 ubuntu 20.04)

Install works on windows side, but getting the above error when installing into WSL using marketplace GUI or code --install-extension

checking if the workaround will work for me


@zdog234 commented on Tue Mar 02 2021

hmm, I have jupyter 2021.2.0 installed in windows and WSL, and pylance 2021.2.3 is installed in windows, but when I try to install pylance in WSL (using the marketplace GUI), I’m getting Unable to install extension 'ms-toolsai.jupyter' as it is not compatible with VS Code '1.53.2'.

Should I try downloading a pylance version and installing it locally? (Can I just install it from WSL, or should it be a two-step process of code --install-extension in windows first, then WSL?)

Sors for the walls of text


@DonJayamanne commented on Tue Mar 02 2021

We’re looking into this issue.

Temporary Work around

As a temporary work around, please download this Jupyter extension and install it https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-toolsai/vsextensions/jupyter/2021.2.603412351/vspackage

The link above is from the marketplace and points to a version thats compatible with the stable version of VS Code.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 23 (11 by maintainers)

Most upvoted comments

I have upgraded to 1.54.2, however, on my remote(ssh) machine,with python extension v2021.2.636928669, and jupyter v2021.3.619093157, I have failure on installation of pylance2021.3.1. The error message is “[error] [“Error: Unable to install extension ‘ms-toolsai.jupyter’ as it is not compatible with VS Code ‘1.54.2’.””

@karmadog upgrading to VS Code 1.54.x solved the issue for me.

@sandy081 Not sure how you want me to investigate this, as we are not in control of installing extensions and VS Code is responsible for this (i.e. there’s absolutely no extension code involved here).

Also the error message is one that’s returned by VS Code, hence VS Code is what’s falling over.

FYI - we also have users reporting this issue in our marketplace https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter&ssr=false#review-details

Please could you reopen this issue, else please provide details of the logs you need form us.

@rebornix /cc