Skip to content

Codespace unable to start in Jupyter using python feature with option "installJupyterLab": true  #870

@prabhakk-mw

Description

@prabhakk-mw

Listed below is the devcontainer.json file that I am using to start a codespace on GitHub.

{
  "name": "Only Jupyter",
  "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
  "hostRequirements": {
    "cpus": 4
  },
  "features": {
    "ghcr.io/devcontainers/features/python": {
      "version": "3.10",
      "installJupyterlab": true,
      "configureJupyterlabAllowOrigin": "*"
    }
  },
  "containerUser": "vscode"
}

When attempting to open in Jupyter as shown in the image below:
image

I get the following error:
image

The documentation for opening-your-codespace-in-jupyterlab seems to suggest that this should be all I need to do.

Restarting the codespace as the option suggests has no effect.

I can however, open in VSCode, and start jupyter lab from the terminal and access it in a separate browser tab.

Any help would be much appreciated!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions