Jupyter #
JupyterLab 包含了 Jupyter Notebook 所有功能,并升级增加了很多功能
pipenv install jupyterlab
alias python-jupyter="/Users/yewang/.local/share/virtualenvs/yewang-jvfc4aCO/bin/python"
alias jupyter="python-jupyter -m jupyter"
alias jlab="jupyter lab"
alias jlist="jupyter kernelspec list"
参考:
配置 #
# vi ~/.jupyter/jupyter_notebook_config.py
# 绝对路径
c.NotebookApp.notebook_dir = '/Users/yewang/note/kingye/jupyter'
Jupyter Notebook
vs Jupyter Lab
#
Jupyter Lab
is a next-generation web-based user interface for Project JupyterJupyter Notebook Interface
is a Web-based application for authoring documents that combine live-code with narrative text, equations and visualizations.Jupyter Notebook
原名IPython Notebook
(version 3 or earlier)
Jupyter kernel #
jupyter kernelspec list
jupyter kernelspec uninstall
参考:
Go #
gopherdata/gophernotes #
go get -u github.com/gopherdata/gophernotes
mkdir -p ~/Library/Jupyter/kernels/gophernotes
# cp $GOPATH/src/github.com/gopherdata/gophernotes/kernel/* ~/Library/Jupyter/kernels/gophernotes
cp /Users/yewang/.gvm/pkgsets/go1.15.10/global/pkg/mod/github.com/gopherdata/[email protected]/kernel/* ~/Library/Jupyter/kernels/gophernotes
Java #
SpencerPark/IJava #
A Jupyter kernel for executing Java code.
PHP #
Litipk/Jupyter-PHP #
- 先安装 zmq
- 查看扩展是否存在:
php74 -m | grep zmq
- 不存在就需要安装
Litipk/Jupyter-PHP
git clone git://github.com/mkoppanen/php-zmq.git cd php-zmq phpize74 && configure74 make && make install
- 修改
php.ini
,添加extension=zmq
php -ini
查看php.ini
文件位置
- 修改
- 查看扩展是否存在:
phpto74
php jupyter-php-installer.phar install -vvv
- 使用
-vvv
查看详细信息
- 使用
Python #
IPython #
编辑器 #
nteract/nteract #
The interactive computing suite for you!
叶王 © 2013-2024 版权所有。如果本文档对你有所帮助,可以请作者喝饮料。