文章目录
一、材料
二、安装 Jupyter
三、配置 Jupyter
四、使用 Jupyter
1. 使用 Cell
2. 使用 jupyter Markdown
Pycharm 更新了对 Jupyter 的功能支持,结合 IntelliJ 的自动补全代码,自动格式化代码,执行调试,版本控制,以及大量的插件支持。
让你在高颜值环境下,高效编写代码,效果如下:
一、材料
Pycharm 19.03 专业版
Jupyter
conda
二、安装 Jupyter使用 conda 安装
conda create -n myjupyter anaconda jupyter
conda activate myjupyter
获取密码密文
jupyter notebook --generate-config --allow-root
将密码复制sha1:XXXXXXXXXXXXXXX,备用配置
jupyter notebook --generate-config --allow-root
在配置文件中输入
c.NotebookApp.ip = 'XX.XX.XX.XX'
c.NotebookApp.allow_root = True
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888