Skip to content

Jupyter Notebook: 404 GET /api/kernels #320

@mikechen66

Description

@mikechen66

Dear Sir or Madam:

I have a problem in running MNIST test code during running jupyter notebook. It shows the 404 GET /api/kernels. My dev environment is Ubuntu 16.04 LTS, Nvidia GeForce RTX 2060, tensorflor-gpu 13.1 with Anaconda. How can I solve the problem.

(tf-gpu) mike@mc:~$ jupyter notebook
[I 00:38:50.314 NotebookApp] Serving notebooks from local directory: /home/mike
[I 00:38:50.314 NotebookApp] The Jupyter Notebook is running at:
[I 00:38:50.314 NotebookApp] http://localhost:8888/?token=1bcc6ed52aee1e2b251fd6314c1ee501bccede316083d41a
[I 00:38:50.314 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 00:38:50.337 NotebookApp]

To access the notebook, open this file in a browser:
    file:///run/user/1000/jupyter/nbserver-7125-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=1bcc6ed52aee1e2b251fd6314c1ee501bccede316083d41a

[W 00:38:54.181 NotebookApp] 404 GET /api/kernels/8007b48e-6f37-45ce-91ed-7f30d4adc7ef/channels?session_id=ac64b3156ece4d858308fcf21dac720f (127.0.0.1): Kernel does not exist: 8007b48e-6f37-45ce-91ed-7f30d4adc7ef
[W 00:38:54.185 NotebookApp] 404 GET /api/kernels/8007b48e-6f37-45ce-91ed-7f30d4adc7ef/channels?session_id=ac64b3156ece4d858308fcf21dac720f (127.0.0.1) 9.40ms referer=None
[I 00:38:54.360 NotebookApp] Creating new notebook in
[I 00:38:54.820 NotebookApp] Kernel started: 4b53921e-3519-4ff1-bcc0-1921b1624d97
[I 00:38:56.895 NotebookApp] Adapting to protocol v5.1 for kernel 4b53921e-3519-4ff1-bcc0-1921b1624d97
[W 00:39:10.205 NotebookApp] Replacing stale connection: 8007b48e-6f37-45ce-91ed-7f30d4adc7ef:ac64b3156ece4d858308fcf21dac720f
[W 00:40:02.222 NotebookApp] Replacing stale connection: 8007b48e-6f37-45ce-91ed-7f30d4adc7ef:ac64b3156ece4d858308fcf21dac720f
[I 00:40:54.822 NotebookApp] Saving file at /Untitled7.ipynb

Thanks in advance,

Mike

Metadata

Metadata

Assignees

No one assigned

    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