我正在尝试连接到Google colab中的本地运行时。
我已经按照this中的说明进行操作,但是遇到了问题。
在执行第3步并运行时:
`jupyter notebook \
--NotebookApp.allow_origin='https://colab.research.google.com' \
--port=8888 \
--NotebookApp.port_retries=0
它失败并输出:
`C:\Users\myname\AppData\Local\Programs\Python\Python36\Scripts>jupyter notebook \
jupyter_http_over_ws extension initialized. Listening on /http_over_websocket
[I 23:41:46.004 NotebookApp] Serving notebooks from local directory: C:\
[I 23:41:46.005 NotebookApp] 0 active kernels
[I 23:41:46.006 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/?token=c12ebcc5d900acbaaeae7c73b7efa7ecbdd3a478af426c5c
[I 23:41:46.007 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 23:41:46.026 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=c12ebcc5d900acbaaeae7c73b7efa7ecbdd3a478af426c5c
[I 23:41:46.956 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[I 23:41:47.019 NotebookApp] Refusing to serve hidden directory, via 404 Error
[W 23:41:47.220 NotebookApp] 404 GET /tree?token=482cba61b07e742dd6cf20d5a2c4756231e74ae767868a1d (::1) 265.06ms referer=None`
打开一个jupyter网页,我的脸上露出404
请注意,我没有将链接复制到浏览器中,而是自动弹出。当我尝试这样做时,这是另一个404页,但命令提示符下显示了更多错误代码:
[I 23:50:04.847 NotebookApp] 302 GET /?token=60bd12ec50394ce29b57139f9ecaebd7116ce0c8cd9b6d08 (::1) 1.00ms
[I 23:50:05.282 NotebookApp] Refusing to serve hidden directory, via 404 Error
[W 23:50:05.298 NotebookApp] 404 GET /tree?token=60bd12ec50394ce29b57139f9ecaebd7116ce0c8cd9b6d08 (::1) 17.01ms referer=None
那么在运行此代码时我应该期待什么输出?有什么问题吗?
感谢您的帮助:)