如何在pycharm 2018.1上的jupyter笔记本中使用远程解释器
在官方文档中说明了如何在pycharm 2018.1.上的jupyter笔记本中使用远程解释器.
In official documentation, it is explained how to use remote interpreter for jupyter notebook on pycharm 2018.1.
https://www.jetbrains.com/help/pycharm/ipython-notebook-support.html
据说选择远程"单选按钮(该按钮不存在,并且事件不在文档本身的屏幕快照中).
It's said to choose Remote radio-button, which is not present there, and event not in the screenshot in the documentation itself.
我错过了什么吗?
The documentation seems to be outdated, I created a ticket to fix it PY-29289.
需要澄清远程笔记本支持:PyCharm不支持带有远程解释器的运行笔记本: PY-26328 .但是它支持与运行在远程计算机上的Jupyter笔记本或Jupyterhub服务器的连接: PY-14605 .后者要求:
Remote notebook support requires clarification: PyCharm doesn't support running notebooks with remote interpreters: PY-26328. But it supports a connection to Jupyter notebook or Jupyterhub server running on the remote machine: PY-14605. The latter requires:
- 正在运行的笔记本计算机或仅需要对远程解释器进行正确的代码突出显示和检查.从理论上讲,可以完全跳过它.
Remote interpreter, in this case, is only required for a proper code highlighting and inspections. Theoretically one can skip it completely.
当前文档缺乏良好的完整安装指南,我为文档团队创建了一个内部票证,以重写相应的页面.同时,我发现笔记本服务器文档是很好的入门指南如果您对这种方法感兴趣,请参考远程计算机配置的分步参考.
Current documentation lacks a good complete setup guide, I created an internal ticket for documentation team to rewrite the corresponding page. Meanwhile, I found the notebook server documentation to be a good step-by-step reference for remote machine configuration if you are interested in this approach.