PyCharm 配置 Jupyter
仅支持专业版
安装
pip install jupyter notebook
生成配置
jupyter notebook --generate-config --allow-root
配置 token
vim /home/root/.jupyter/jupyter_notebook_config.py
修改为
c.NotebookApp.token = '123456'
normal 模式下按 / 进入查找模式,输入要查找的内容,回车,会跳到第一个匹配
n 下一个
N 上一个
启动
jupyter notebook
PyCharm → File → Settings → Languages & Frameworks → Jupyter → Jupyter Server
勾选 Configured Server,填入:
http://127.0.0.1:8888/?token=123456
