【发布时间】:2021-10-05 19:31:50
【问题描述】:
我一周以来一直在尝试将我的 google colab notebook 与谷歌云连接,但在谷歌云终端中执行以下步骤:
1) gcloud init and then choose the appropriate settings
2) gcloud compute ssh --zone us-central1-a 'name' -- -L 8888:localhost:8888
3) one of these lines
jupyter notebook --NotebookApp.allow_origin='https://colab.research.google.com' --port=8888 --NotebookApp.port_retries=0 --no-browser, or
jupyter notebook --NotebookApp.allow_origin='https://colab.research.google.com' --port=8888 --NotebookApp.port_retries=0
然后我将 url 复制粘贴到 google colab 的本地运行时,错误是这样的
我再次按照这些步骤操作,但我仍然遇到同样的问题。你知道如何克服这个问题吗?我认为这是基于我的计算机的问题。
请注意,我关闭了 addblocker。
【问题讨论】:
标签: python google-cloud-platform