How to use remote interpreter with jupyter notebook on pycharm 2018.1

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 15:18:45

问题


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.

Am I missing smth?


回答1:


The documentation seems to be outdated, I created a ticket to fix it PY-29289.

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:

  • a running notebook server or jupyterhub on the remote machine
  • correct credentials setup as covered by the existed documentation

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.



来源:https://stackoverflow.com/questions/49574591/how-to-use-remote-interpreter-with-jupyter-notebook-on-pycharm-2018-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!