Skip to content

Can't install jupyterlab in debian-slim #588

@pamelafox

Description

@pamelafox

Here's my setup:

FROM debian:bullseye-slim

devcontainer.json:

{
	"name": "Data 8 notebooks",
	"build": {
		"dockerfile": "dockerfile",
		"context": ".."
	},
	"features": {
		"ghcr.io/devcontainers/features/python:1": {
			"version": "3.11",
			"installJupyterlab": true
		}
	},

That results in this error:

#18 325.5 ./install.sh: line 307: /usr/local/python/3.11.4/bin/python3 -m pip install --user --upgrade --no-cache-dir jupyterlab: No such file or directory
#18 325.5 ERROR: Feature "Python" (ghcr.io/devcontainers/features/python) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/python for help troubleshooting this error.

Notably, I'm intentionally using a Debian that has no built-in Python package, as I'm trying to create an image with a single Python version. So maybe the PYTHON_SRC logic isn't compatible with that?

Metadata

Metadata

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