美文网首页
jupyter notebook的使用技巧

jupyter notebook的使用技巧

作者: JohnYuCN | 来源:发表于2020-08-15 15:07 被阅读0次

1. jupyter notebook定位

  1. 是一个高级的python交互执行环境(IPython解释器+Web界面)
  2. 可以通过插件方式支持更多的语言
  3. 自身带有markdown插件,可以用以笔记。

2. 安装及执行

# jupyter notebook 的安装
pip install jupyter
# 执行
# cli环境
jupyter console 
# web环境
jupyter notebook

3. java插件的安装

  1. 确认jdk>=9(原理是使用jshell工具)
  2. 升级pip
pip install --upgrade pip
  1. 下载ijava.zip(java的Jupyter插件)
    ijava.zip的地址,下载后进行解压操作。
  2. 安装
ijava-1.3.0 $ python3 install.py --sys-prefix
  1. 验证:
$ jupyter kernelspec list
  1. 运行:
$ jupyter notebook

相关文章

网友评论

      本文标题:jupyter notebook的使用技巧

      本文链接:https://www.haomeiwen.com/subject/bpdadktx.html