question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install Python extension due to version conflict installing ms-toolsai/jupyter extension

See original GitHub issue

Environment data

  • VS Code version: 1.60.0
  • Extension version (available under the Extensions sidebar): v2021.8.1159798656
  • OS and version: macOS 11.5.2
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.7 from home-brew
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Relevant/affected Python-related VS Code extensions and their versions: ms-toolsai/jupyter, I don’t know its version because the error doesn’t report that.
  • Value of the python.languageServer setting: N/A (I can’t install the extension!)

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

Clicking “install” in the extensions marketplace for the ms-python extension, in the current version of VS Code, installs the Python extension.

Actual behaviour

It does not install. Instead, the following alert is presented:

Can’t install ‘ms-toolsai.jupyter’ extension because it is not compatible with the current version of VS Code (version 1.60.0).

BTW this problem also manifested in version 1.59.1 of VS Code.

Steps to reproduce:

  1. navigate to extensions marketplace
  2. search for “Python”
  3. Try to install the Python extension

Logs

I see no relevant logs in the Extensions or Logs (Extension Host) output.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
karthiknadigcommented, Oct 27, 2021

We will be removing this dependency soon. Automatic updates should work without trying to pull in optional dependencies that were not installed.

1reaction
karthiknadigcommented, Oct 7, 2021

Here is what you can do temporarily: There is another thing you can try is removing the optional dependency. To do this you can open up the VSIX (it is just a ZIP file), find extension.manifest in the root directory and package.json under extensions directory. Remove the lines that have the ms-toolsai.jupyter. Re-zip with .vsix as the extension, and try installing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot activate the 'Python' extension because it depends on ...
This can happen when the VS Code Server installed on your remote machine has a version that is incompatible with the version of...
Read more >
I can't install extension python for vscode - Stack Overflow
This might be a version problem, you could try reinstalling an older version of the Python extension. Right Click at Python in extension...
Read more >
July 2022 (version 1.70) - Visual Studio Code
The Python extension walkthrough now smoothly transitions users to installing Python if they need to, and selecting it. Microsoft Store or an appropriate ......
Read more >
typing-extensions - PyPI
Overview. The typing_extensions module serves two related purposes: Enable use of new type system features on older Python versions. For example, typing.
Read more >
Installation — Intel(R) Extension for Scikit-learn* 2023.0.1 ...
Install from Anaconda Cloud¶. To prevent version conflicts, we recommend installing scikit-learn-intelex into a new conda environment. For each distribution ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found