Skip to content

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? #15972

@20v100

Description

@20v100

Environment 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.languageServer setting: 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!

Metadata

Metadata

Assignees

Labels

area-data sciencearea-editor-*User-facing catch-allbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions