Cannot activate the 'Python' extension because it depends on the 'Jupyter' extension, which is not loaded. Would you like to reload the window to load the extension?
See original GitHub issueEnvironment data
- VS Code version: 1.54.1
- Extension version (available under the Extensions sidebar): v2021.3.680753044
- OS and version:
- Local: Darwin arm64 20.3.0 (Mac M1)
- Remote: Ubuntu 18.04.5 LTS
- Python version (& distribution if applicable, e.g. Anaconda): 3.6.9
- Type of virtual environment used (N/A | venv | virtualenv | conda | Docker version 20.10.5, build 55c4c88
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: MS Jupyter v2021.5.702919634
- Value of the
python.languageServersetting: Jedi
Expected behaviour
When connecting remotely, MS Python extension should start
Actual behaviour
When connecting remotely, MS Python extension does not start and gives the error: Cannot activate the 'Python' extension because it depends on the 'Jupyter' extension, which is not loaded. Would you like to reload the window to load the extension?
- Reloading the window does not fix the issue.
Steps to reproduce:
- Docker Engine
- I don’t use .devcontainer files or other VS Code special files except ‘launch.json’
- Uninstalling and reinstalling MS Python extension does not fix the issue.
- Deleting the extension following file and reinstalling the extensions fix the issue for the current session:
~/vscode-server/extensions/ms-python.python-2021.3.680753044~/vscode-server/extensions/ms-toolsai.jupyter-2021.5.702919634 - When I restart the server, the issue arises again immediately upon connecting with VS Code Remote-SSH connection
Thanks for you help!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:10 (3 by maintainers)
Top Results From Across the Web
After updating VSCode to 1.56.1, I get error: "Cannot activate ...
Reference: Cannot activate the 'Python' extension because it depends on the 'Jupyter' extension, which is not loaded. Would you like to reload ......
Read more >Python Extension not working : r/vscode - Reddit
When I attempt to install the python extension it gives the following error: "Cannot activate the 'Pylance' extension because it depends on ...
Read more >Introducing the Jupyter Extension for VS Code - Python
We're excited to announce that we're releasing the new Jupyter extension for Visual Studio Code today! The Jupyter extension is the latest ...
Read more >Extensions — JupyterLab 3.6.0b0 documentation
The jupyter labextension command enables you to install or uninstall source extensions from npm, list all installed extensions, or disable any extension. See ......
Read more >User-Guide - Jupyter integration - Ploomber documentation
Activating the Jupyter extension; Custom Jupyter pipeline loading ... If you want to configure JuptyerLab to open .py files as notebooks with a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

After python extension update which now comes with pylance as default, i got the same error. uninstalled Jupyter, pylance, and python extensions in vscode. then re-installed and everything started working again
Thank you, @jturnercode . Can confirm the same happened after updating to 1.56.1 of VS Code a few minutes ago.