我一直在尝试让 ipython/jupyter 笔记本在 Google Compute Engine(Ubuntu 14.04 VM)上作为笔记本服务器运行,但无法连接到 Python 内核。
我从最新的 Anaconda 发行版开始。我可以通过网络从我的本地机器连接到笔记本服务器,浏览虚拟机的目录树,并创建新的笔记本,但永远不会连接到内核(Jupyter 右上角的橙色消息)。笔记本端口 (8888) 在防火墙设置中打开。iPython 笔记本返回以下内容:
[I 19:21:10.152 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 19:21:10.169 NotebookApp] Serving notebooks from local directory: /home/rattlerray
[I 19:21:10.170 NotebookApp] 0 active kernels
[I 19:21:10.170 NotebookApp] The IPython Notebook is running at: https://[all ip addresses on your system]:8888/
[I 19:21:10.170 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 19:22:13.835 NotebookApp] 302 GET / (98.169.96.157) 0.85ms
[I 19:22:31.902 NotebookApp] Creating new notebook in
[I 19:22:33.634 NotebookApp] Kernel started: 011d8a15-0e4a-448a-b02a-4121780e4bb6
如果有人以前遇到过这个问题并且可以提供一些东西来检查,我会很感激的。谷歌搜索没有帮助,我真的很想让这个在云上工作。谢谢!