ageron / ageron/handson-ml3

[BUG] Docker image issue.

Open
#109 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
14.1k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

I built the image with `make build`, and everything goes well.
However, when I ran `make run`, it showed:

> [+] Running 1/0
> ✔ Container handson-ml3 Created 0.0s
> Attaching to handson-ml3
> handson-ml3 | usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
> handson-ml3 | [--paths] [--json] [--debug]
> handson-ml3 | [subcommand]
> handson-ml3 |
> handson-ml3 | Jupyter: Interactive Computing
> handson-ml3 |
> handson-ml3 | positional arguments:
> handson-ml3 | subcommand the subcommand to launch
> handson-ml3 |
> handson-ml3 | options:
> handson-ml3 | -h, --help show this help message and exit
> handson-ml3 | --version show the versions of core jupyter packages and exit
> handson-ml3 | --config-dir show Jupyter config dir
> handson-ml3 | --data-dir show Jupyter data dir
> handson-ml3 | --runtime-dir show Jupyter runtime dir
> handson-ml3 | --paths show all Jupyter paths. Add --json for machine-readable
> handson-ml3 | format.
> handson-ml3 | --json output paths as machine-readable json
> handson-ml3 | --debug output debug information about paths
> handson-ml3 |
> handson-ml3 | Available subcommands: dejavu events execute kernel kernelspec lab
> handson-ml3 | labextension labhub migrate nbconvert run server troubleshoot trust
> handson-ml3 |
> handson-ml3 | Jupyter command `jupyter-notebook` not found.
> handson-ml3 exited with code 0

So I tried `jupyter --version` in the same container bash, and it showed:

> Selected Jupyter core packages...
> IPython : 8.17.2
> ipykernel : 6.26.0
> ipywidgets : 8.1.1
> jupyter_client : 8.6.0
> jupyter_core : 5.5.0
> jupyter_server : 2.11.2
> jupyterlab : 4.0.9
> nbclient : 0.8.0
> nbconvert : 7.12.0
> nbformat : 5.9.2
> notebook : not installed
> qtconsole : not installed
> traitlets : 5.14.0.0

Obviously, notebook not installed.
Maybe some modification needed?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.